User Tools

Site Tools


channel_function

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

channel_function [2006/07/25 21:22] (current)
Line 1: Line 1:
 +# $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.
 +
 +<​file>​
 +O:    '​@'​ if chanop, '​%'​ if half-op, '​.'​ if not, '?'​ if we don't know.
 +V:    '​+'​ if voice, ​ '​.'​ if not, ' ​               ?' if we don't know.
 +</​file>​
 +
 +======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 (external edit)