User Tools

Site Tools


nochops

Differences

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

Link to this comparison view

nochops [2006/08/01 20:54] (current)
Line 1: Line 1:
 +# $EPIC: nochops.txt,​v 1.2 2006/08/01 05:32:26 sthalik Exp $
 +======Synopsis======
 +$__nochops__(<​channel>​)
 +
 +======Technical:​======
 +   * If the <​channel>​ argument is omitted, the current window'​s current channel is used.  THIS IS NOT NECCESARILY THE CORRECT CHANNEL IN AN /[[ON]]!
 +   * If the <​channel>​ argument is the literal star character (``*''​),​ the current window'​s current channel is used.  THIS IS NOT NECCESARILY THE CORRECT CHANNEL IN AN /[[ON]]!
 +   * This function returns the non-channel-operators on the specified channel.
 +   * You must be on the channel; the empty string is returned if you are not.
 +   * Before /[[ON]] [[on CHANNEL_SYNC|CHANNEL_SYNC]] is thrown, this function may return the empty string (because EPIC does not know who are the channel operators yet.)
 +   * A design defect in the historical server implementation may cause truncated nicknames to be included in the list.  The client corrects these truncated nicknames by watching the WHO reply. ​ Before /[[ON]] [[on CHANNEL_SYNC|CHANNEL_SYNC]] is thrown, truncated nicknames may be included in this list.
 +   * In general you cannot use this function in a status_format.
 +
 +======Practical:​======
 +This function is handy if you want to +o all of the non-chanops in 
 +your channel, or if you want to kick them. ;-)  Or maybe you just
 +want to send them a message.
 +
 +======Returns:​======
 +The non-channel-operators on the specified channel. ​ You must be on the
 +channel. ​ Before /[[ON]] [[on CHANNEL_SYNC|CHANNEL_SYNC]],​ this function may
 +return the empty string, or a list with truncated nicknames.
 +
 +======Examples:​======
 +<​file>​
 +$nochops(#​foo) ​            shows non-channel operators on channel #foo
 +$nochops(*) ​               shows non-channel operators on current channel
 +$nochops() ​                shows non-channel operators on current channel
 +</​file>​
 +
 +======History:​======
 +This function first appeared in "​+3"​ (post-ircII,​ pre-EPIC). ​ Support
 +for the default argument and for "​*"​ first appeared in "​+4"​.
  
nochops.txt ยท Last modified: 2006/08/01 20:54 (external edit)