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

From AnopeWiki
Jump to: navigation, search
(Created page with "{{Language|2.0/Modules/hs_list}} {{Syntax|hs_list|HostServ|Anope}} == <div class="moduleheader">Description</div> == This command lists registered vhosts to the operator if a...")
 
(No difference)

Latest revision as of 21:01, 8 May 2014

Language

English

Service HostServ
Module hs_list
Author Anope

Description

This command lists registered vhosts to the operator if a key is specified, only entries whos nick or vhost match the pattern given in key are displayed e.g. Rob* for all entries beginning with "Rob"

If a #X-Y style is used, only entries between the range of X and Y will be displayed, e.g. #1-3 will display the first 3 nick/vhost entries.

NOTE: Access to this command requires the permission hostserv/list to be present in your opertype.

Commands

list [key|#X-Y]

Examples

/msg HostServ LIST

Default Configuration

/*
 * hs_list
 *
 * Provides the command hostserv/list.
 *
 * Used for listing actively set vHosts.
 */
module { name = "hs_list" }
command { service = "HostServ"; name = "LIST"; command = "hostserv/list"; permission = "hostserv/list"; }