summaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/bs_assign.cpp168
-rw-r--r--modules/commands/bs_badwords.cpp331
-rw-r--r--modules/commands/bs_bot.cpp414
-rw-r--r--modules/commands/bs_botlist.cpp91
-rw-r--r--modules/commands/bs_control.cpp158
-rw-r--r--modules/commands/bs_info.cpp244
-rw-r--r--modules/commands/bs_kick.cpp1011
-rw-r--r--modules/commands/bs_set.cpp307
-rw-r--r--modules/commands/cs_access.cpp915
-rw-r--r--modules/commands/cs_akick.cpp564
-rw-r--r--modules/commands/cs_appendtopic.cpp117
-rw-r--r--modules/commands/cs_ban.cpp109
-rw-r--r--modules/commands/cs_clearusers.cpp83
-rw-r--r--modules/commands/cs_clone.cpp186
-rw-r--r--modules/commands/cs_drop.cpp102
-rw-r--r--modules/commands/cs_enforce.cpp215
-rw-r--r--modules/commands/cs_entrymsg.cpp224
-rw-r--r--modules/commands/cs_flags.cpp455
-rw-r--r--modules/commands/cs_getkey.cpp80
-rw-r--r--modules/commands/cs_info.cpp142
-rw-r--r--modules/commands/cs_invite.cpp102
-rw-r--r--modules/commands/cs_kick.cpp91
-rw-r--r--modules/commands/cs_list.cpp136
-rw-r--r--modules/commands/cs_mode.cpp364
-rw-r--r--modules/commands/cs_modes.cpp431
-rw-r--r--modules/commands/cs_register.cpp193
-rw-r--r--modules/commands/cs_saset.cpp74
-rw-r--r--modules/commands/cs_saset_noexpire.cpp81
-rw-r--r--modules/commands/cs_set.cpp74
-rw-r--r--modules/commands/cs_set_bantype.cpp98
-rw-r--r--modules/commands/cs_set_description.cpp89
-rw-r--r--modules/commands/cs_set_founder.cpp105
-rw-r--r--modules/commands/cs_set_keeptopic.cpp94
-rw-r--r--modules/commands/cs_set_misc.cpp110
-rw-r--r--modules/commands/cs_set_opnotice.cpp93
-rw-r--r--modules/commands/cs_set_peace.cpp93
-rw-r--r--modules/commands/cs_set_persist.cpp180
-rw-r--r--modules/commands/cs_set_private.cpp93
-rw-r--r--modules/commands/cs_set_restricted.cpp91
-rw-r--r--modules/commands/cs_set_secure.cpp94
-rw-r--r--modules/commands/cs_set_securefounder.cpp95
-rw-r--r--modules/commands/cs_set_secureops.cpp92
-rw-r--r--modules/commands/cs_set_signkick.cpp104
-rw-r--r--modules/commands/cs_set_successor.cpp119
-rw-r--r--modules/commands/cs_set_topiclock.cpp92
-rw-r--r--modules/commands/cs_suspend.cpp158
-rw-r--r--modules/commands/cs_sync.cpp63
-rw-r--r--modules/commands/cs_tban.cpp116
-rw-r--r--modules/commands/cs_topic.cpp84
-rw-r--r--modules/commands/cs_unban.cpp94
-rw-r--r--modules/commands/cs_xop.cpp880
-rw-r--r--modules/commands/gl_global.cpp64
-rw-r--r--modules/commands/help.cpp130
-rw-r--r--modules/commands/hs_del.cpp107
-rw-r--r--modules/commands/hs_group.cpp80
-rw-r--r--modules/commands/hs_list.cpp137
-rw-r--r--modules/commands/hs_off.cpp67
-rw-r--r--modules/commands/hs_on.cpp77
-rw-r--r--modules/commands/hs_request.cpp424
-rw-r--r--modules/commands/hs_set.cpp236
-rw-r--r--modules/commands/ms_cancel.cpp77
-rw-r--r--modules/commands/ms_check.cpp89
-rw-r--r--modules/commands/ms_del.cpp163
-rw-r--r--modules/commands/ms_ignore.cpp110
-rw-r--r--modules/commands/ms_info.cpp219
-rw-r--r--modules/commands/ms_list.cpp168
-rw-r--r--modules/commands/ms_read.cpp195
-rw-r--r--modules/commands/ms_rsend.cpp106
-rw-r--r--modules/commands/ms_send.cpp70
-rw-r--r--modules/commands/ms_sendall.cpp74
-rw-r--r--modules/commands/ms_set.cpp313
-rw-r--r--modules/commands/ms_staff.cpp71
-rw-r--r--modules/commands/ns_access.cpp195
-rw-r--r--modules/commands/ns_ajoin.cpp239
-rw-r--r--modules/commands/ns_alist.cpp96
-rw-r--r--modules/commands/ns_cert.cpp231
-rw-r--r--modules/commands/ns_drop.cpp130
-rw-r--r--modules/commands/ns_getemail.cpp82
-rw-r--r--modules/commands/ns_getpass.cpp79
-rw-r--r--modules/commands/ns_ghost.cpp122
-rw-r--r--modules/commands/ns_group.cpp305
-rw-r--r--modules/commands/ns_identify.cpp93
-rw-r--r--modules/commands/ns_info.cpp173
-rw-r--r--modules/commands/ns_list.cpp169
-rw-r--r--modules/commands/ns_logout.cpp97
-rw-r--r--modules/commands/ns_recover.cpp132
-rw-r--r--modules/commands/ns_register.cpp355
-rw-r--r--modules/commands/ns_release.cpp110
-rw-r--r--modules/commands/ns_resetpass.cpp152
-rw-r--r--modules/commands/ns_saset.cpp173
-rw-r--r--modules/commands/ns_saset_noexpire.cpp76
-rw-r--r--modules/commands/ns_sendpass.cpp108
-rw-r--r--modules/commands/ns_set.cpp158
-rw-r--r--modules/commands/ns_set_autoop.cpp107
-rw-r--r--modules/commands/ns_set_email.cpp186
-rw-r--r--modules/commands/ns_set_greet.cpp108
-rw-r--r--modules/commands/ns_set_hide.cpp149
-rw-r--r--modules/commands/ns_set_kill.cpp149
-rw-r--r--modules/commands/ns_set_language.cpp121
-rw-r--r--modules/commands/ns_set_message.cpp114
-rw-r--r--modules/commands/ns_set_misc.cpp126
-rw-r--r--modules/commands/ns_set_private.cpp114
-rw-r--r--modules/commands/ns_set_secure.cpp114
-rw-r--r--modules/commands/ns_status.cpp94
-rw-r--r--modules/commands/ns_suspend.cpp160
-rw-r--r--modules/commands/ns_update.cpp70
-rw-r--r--modules/commands/os_akill.cpp464
-rw-r--r--modules/commands/os_chankill.cpp120
-rw-r--r--modules/commands/os_config.cpp217
-rw-r--r--modules/commands/os_defcon.cpp663
-rw-r--r--modules/commands/os_forbid.cpp342
-rw-r--r--modules/commands/os_forbid.h37
-rw-r--r--modules/commands/os_ignore.cpp350
-rw-r--r--modules/commands/os_ignore.h39
-rw-r--r--modules/commands/os_jupe.cpp79
-rw-r--r--modules/commands/os_kick.cpp83
-rw-r--r--modules/commands/os_kill.cpp72
-rw-r--r--modules/commands/os_list.cpp187
-rw-r--r--modules/commands/os_login.cpp97
-rw-r--r--modules/commands/os_mode.cpp109
-rw-r--r--modules/commands/os_modinfo.cpp245
-rw-r--r--modules/commands/os_module.cpp202
-rw-r--r--modules/commands/os_news.cpp450
-rw-r--r--modules/commands/os_news.h39
-rw-r--r--modules/commands/os_noop.cpp94
-rw-r--r--modules/commands/os_oline.cpp83
-rw-r--r--modules/commands/os_oper.cpp219
-rw-r--r--modules/commands/os_reload.cpp72
-rw-r--r--modules/commands/os_session.cpp749
-rw-r--r--modules/commands/os_session.h32
-rw-r--r--modules/commands/os_set.cpp261
-rw-r--r--modules/commands/os_shutdown.cpp117
-rw-r--r--modules/commands/os_stats.cpp224
-rw-r--r--modules/commands/os_svsnick.cpp92
-rw-r--r--modules/commands/os_sxline.cpp807
-rw-r--r--modules/commands/os_update.cpp56
136 files changed, 24964 insertions, 0 deletions
diff --git a/modules/commands/bs_assign.cpp b/modules/commands/bs_assign.cpp
new file mode 100644
index 000000000..803368994
--- /dev/null
+++ b/modules/commands/bs_assign.cpp
@@ -0,0 +1,168 @@
+/* BotServ core functions
+ *
+ * (C) 2003-2011 Anope Team
+ * Contact us at team@anope.org
+ *
+ * Please read COPYING and README for further details.
+ *
+ * Based on the original code of Epona by Lara.
+ * Based on the original code of Services by Andy Church.
+ */
+
+/*************************************************************************/
+
+#include "module.h"
+
+class CommandBSAssign : public Command
+{
+ public:
+ CommandBSAssign(Module *creator) : Command(creator, "botserv/assign", 2, 2)
+ {