#include "module.h"
Go to the source code of this file.
Functions | |
| void | AnopeFini (void) |
| int | AnopeInit (int argc, char **argv) |
| int | do_assign (User *u) |
| void | myBotServHelp (User *u) |
| void AnopeFini | ( | void | ) |
Unload the module
Definition at line 46 of file bs_assign.c.
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Create the command, and tell anope about it.
| argc | Argument count | |
| argv | Argument list |
Definition at line 27 of file bs_assign.c.
References BOTSERV, CORE, createCommand(), do_assign(), MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetBotHelp(), moduleSetType(), and myBotServHelp().
| int do_assign | ( | User * | u | ) |
The /bs assign command.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
Definition at line 66 of file bs_assign.c.
References chaninfo_::bi, BI_PRIVATE, bot_join(), chaninfo_::botflags, BS_NOBOT, BSMinUsers, chaninfo_::c, CA_ASSIGN, botinfo_::chancount, check_access(), CI_VERBOTEN, cs_findchan(), EVENT_BOT_ASSIGN, findbot(), chaninfo_::flags, botinfo_::flags, is_oper(), is_services_admin(), MOD_CONT, chaninfo_::name, botinfo_::nick, notice_lang(), readonly, s_BotServ, send_event(), stricmp(), syntax_error(), unassign(), and channel_::usercount.
Referenced by AnopeInit().
| void myBotServHelp | ( | User * | u | ) |
Add the help response to Anopes /bs help output.
| u | The user who is requesting help |
1.5.1-20070107