Site Tools


channel_function

# $EPIC: channel_function.txt,v 1.2 2006/07/17 19:41:50 sthalik Exp $

Synopsis:

$channel(<channel name>)

Technical:

This function returns some extended information about who's on a channel. It returns a sorted list of nicknames prepended by two characters. If a <channel name> is not supplied, the current channel will be assumed.

Returns:

Space-separated list in the form: OVnick, where O is channel operator status and V is channel voice status. Their values are as follows.

O:    '@' if chanop, '%' if half-op, '.' if not, '?' if we don't know.
V:    '+' if voice,  '.' if not, '                ?' if we don't know.

Practical:

This is mostly useful for writing scripts that format and display the nicks of everyone in a channel.

channel_function.txt · Last modified: 2006/07/25 21:22 by 127.0.0.1