chan.modearray

Sets an array of channel ban/ban exception/invite exception masks
Syntax

chan.modearray [-s=<start_idx>] [-r=<window_id>] <mode> <arrayname>

Description
Sets the array <arrayname> to the list of <mode> masks on the current channel.
If the current window is not a channel , a warning is printed and no array is set.
If you use the -r switch and pass <window_id> , the command is rebound to the specified window: this allows you to set the mode array for channels that are not "current".
<mode> must be one of 'b' , 'I' or 'e': 'b' returns the channel ban list, 'I' returns the channel invite exception list (if the server supports it), 'e' returns the ban exception list.
The <arrayname> is in fact a name of a local or global dictionary, but must NOT contain the leading '%' character.
The dictionary is treated as array since the entries are set by numberic keys starting from '<start_idx>' and ending at "<start_idx> + number-of-users - 1".
If <start_idx> is not given (no -s switch), it is assumed to be 0.
The dictionary is not cleared before filling it so if you had previous entries (with non numberic keys , for example) they will be preserved.

Main index, Command index
KVirc 3.0.0 documentation
Generated by diego at Sat Jul 13 15:37:55 2002