2.0/Modules/cs list

From AnopeWiki
Jump to: navigation, search


Service ChanServ
Module cs_list
Author Anope


Lists all registered channels matching the given pattern. Channels with the PRIVATE option set will only be displayed to Services Operators with the proper access. Channels with the NOEXPIRE option set will have a ! prefixed to the channel for Services Operators to see.

Note that a preceding '#' specifies a range, channel names are to be written without '#'.

If the SUSPENDED or NOEXPIRE options are given, only channels which, respectively, are SUSPENDED or have the NOEXPIRE flag set will be displayed. If multiple options are given, all channels matching at least one option will be displayed.

Note that these options are limited to Services Operators.


list pattern [SUSPENDED] [NOEXPIRE]


/msg ChanServ LIST *anope*

/msg ChanServ LIST * NOEXPIRE

/msg ChanServ LIST #51-100

Default Configuration

 * cs_list
 * Provides the commands:
 *   chanserv/list - Used for retrieving and searching the registered channel list.
 *   chanserv/set/private - Used for setting whether channels should show up in chanserv/list.
        name = "cs_list"
         * The maximum number of channels to be returned for a ChanServ LIST command.
        listmax = 50
command { service = "ChanServ"; name = "LIST"; command = "chanserv/list"; }
command { service = "ChanServ"; name = "SET PRIVATE"; command = "chanserv/set/private"; }