diff options
Diffstat (limited to 'data/modules.example.conf')
-rw-r--r-- | data/modules.example.conf | 43 |
1 files changed, 6 insertions, 37 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf index 198604024..b26f12e66 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -57,28 +57,11 @@ cs_entrymsg * cs_set_misc * * Allows you to create misc /chanserv set commands, and have the data - * show up in /chanserv info + * show up in /chanserv info. */ module { name = "cs_set_misc" } -cs_set_misc -{ - /* The name of the command */ - name = "OINFO" - /* A short description of the command */ - desc = "Associate oper only information to this channel" - /* Set to yes if only opers and privileged users can set it and see it */ - privileged = yes -} -cs_set_misc -{ - name = "URL" - desc = "Associate a URL with the channel" -} -cs_set_misc -{ - name = "EMAIL" - desc = "Associate an EMail with the channel" -} +command { service = "ChanServ"; name = "SET URL"; command = "chanserv/set/misc"; } +command { service = "ChanServ"; name = "SET EMAIL"; command = "chanserv/set/misc"; } /* * cs_sync @@ -424,25 +407,11 @@ ns_maxemail * ns_set_misc * * Allows you to create misc /nickserv set commands, and have the data - * show up in /nickserv info + * show up in /nickserv info. */ module { name = "ns_set_misc" } -ns_set_misc -{ - name = "OINFO" - desc = "Associate oper only information to this nick" - privileged = yes -} -ns_set_misc -{ - name = "URL" - desc = "Associate a URL with the nick" -} -ns_set_misc -{ - name = "ICQ" - desc = "Associate an ICQ number with the nick" -} +command { service = "NickServ"; name = "SET URL"; command = "nickserv/set/misc"; } +command { service = "NickServ"; name = "SET ICQ"; command = "nickserv/set/misc"; } /* * os_defcon |