Do command

From Botnix
Jump to: navigation, search

do_command

@output = main::do_command(networkid,nick,ident,host,command,params)

Call the bot's command handler with a command and its parameters. This can be used to give command functionality to your module. See the module modules/irc/dcc.pm for an example of how to do this.