Ticket #14 (closed task: fixed)
Command
| Reported by: | tobias382 | Owned by: | tobias382 |
|---|---|---|---|
| Priority: | high | Component: | plugins |
| Version: | 1.0.2 | Severity: | normal |
| Keywords: | Cc: |
Description (last modified by tobias382) (diff)
This would be an abstract plugin with an onPrivmsg event handler that parses the contents of the incoming message for a command and an optional set of accompanying parameters and then calls onDoCOMMANDNAME and passes the parameters via call_user_func_array. This provides for an easy method of maintaining user-issued commands and registering commands with the bot so it can avoid (or at least warn the user of) redundant handling of the same command by multiple plugins.
Change History
Note: See
TracTickets for help on using
tickets.