Difference between revisions of "2.0/Modules/os list"

From AnopeWiki
Jump to: navigation, search
(Created page with "{{Language|2.0/Modules/os_list}} {{Syntax|os_list|OperServ|Anope}} == <div class="moduleheader">Description</div> == ;CHANLIST :Lists all channels currently in use on the IRC...")
 
(No difference)

Latest revision as of 22:12, 8 May 2014

Language

English

Service OperServ
Module os_list
Author Anope

Description

CHANLIST 
Lists all channels currently in use on the IRC network, whether they are registered or not.
If pattern is given, lists only channels that match it. If a nickname is given, lists only the channels the user using it is on. If SECRET is specified, lists only channels matching pattern that have the +s or +p mode.
  • NOTE: Access to this command requires the permission operserv/chanlist to be present in your opertype.
USERLIST 
Lists all users currently online on the IRC network, whether their nick is registered or not.
If pattern is given, lists only users that match it (it must be in the format nick!user@host). If channel is given, lists only users that are on the given channel. If INVISIBLE is specified, only users with the +i flag will be listed.
  • NOTE:Access to this command requires the permission operserv/userlist to be present in your opertype.

Commands

chanlist [{pattern | nick} [SECRET]]
userlist [{pattern | channel} [INVISIBLE]]

Examples

/msg OperServ CHANLIST #my*

/msg OperServ USERLIST *@*.fred.com

Default Configuration

/*
 * os_list
 *
 * Provides the commands operserv/chanlist and operserv/userlist.
 *
 * Used to list and search the channels and users currently on the network.
 */
module { name = "os_list" }
command { service = "OperServ"; name = "CHANLIST"; command = "operserv/chanlist"; permission = "operserv/chanlist"; }
command { service = "OperServ"; name = "USERLIST"; command = "operserv/userlist"; permission = "operserv/userlist"; }