The "namedmodes" Module (v4)
Description
This module provides support for adding and removing modes via their long names.
Configuration
To load this module use the following <module>
tag:
<module name="namedmodes">
This module requires no other configuration.
Commands
Name | Parameter Count | Syntax | Description |
---|---|---|---|
PROP | 1+ | <target> [(+|-)<name> [<value>]]+ | Allows users to add, remove, and view the modes of a specific target. |
Example Usage
Lists all channel modes set on #channel:
/PROP #channel
Sets channel mode n
(noextmsg) on #channel:
/PROP #channel +noextmsg
Sets channel mode o
(op) on Sadie in #channel:
/PROP #channel +op Sadie
Removes channel mode n
(noextmsg) from #channel:
/PROP #channel -noextmsg
Removes channel mode o
(op) from Sadie in #channel:
/PROP #channel -op Sadie
Channel Modes
Name | Character | Type | Parameter Syntax | Usable By | Description |
---|---|---|---|---|---|
namebase | Z | List | <name>[=<value>] | Depends on the mode in <name> | Allows users to add, remove, and view the modes of a specific target. |
Example Usage
Lists all channel modes set on #channel:
/MODE #channel +Z
Sets channel mode n
(noextmsg) on #channel:
/MODE #channel +Z noextmsg
Sets channel mode o
(op) on Sadie in #channel:
/MODE #channel +Z op=Sadie
Removes channel mode n
(noextmsg) from #channel:
/MODE #channel -Z noextmsg
Removes channel mode o
(op) from Sadie in #channel:
/MODE #channel -Z op=Sadie