Ticket #7 (closed task: fixed)
Karma
| Reported by: | tobias382 | Owned by: | tobias382 |
|---|---|---|---|
| Priority: | normal | Component: | plugins |
| Version: | 1.5 | Severity: | normal |
| Keywords: | Cc: |
Description
This plugin requires an external data source with a listing of specific strings where each string has a counter associated with it.
When a user sends a message to a channel of the format '%++' where % is any string, the bot will increment the counter for the record corresponding to that string.
When a user sends a message to a channel of the format '%--' where % is any string, the bot will decrement the counter for the record corresponding to that string.
When a user sends a message to a channel of the format 'karma %' where % is any string, the bot will retrieve the value of the counter for the record corresponding to that string and send a message to the channel of the format '% has karma of #' where % is the string and # is the counter value. If the string has no corresponding record, the message format should be '% has neutral karma' where % is the string.