Project

General

Profile

$chan » History » Revision 13

Revision 12 (Per Amundsen, 08/09/2015 06:12 AM) → Revision 13/26 (Per Amundsen, 08/12/2015 10:49 PM)

_Added in 1.5_ 

 *$chan* 

 Returns the name of the channel for a specific [[Scripting_Events|event]]. For all non-channel events [[$chan]] will be [[$null]]. 

 ----------------------------------------------------------------------------- 

 *$chan(N|#|@<wid>)* *$chan(N/#/@<wid>)* 

 Returns information about channel # or Nth channel. 

 *Parameters* 

 N - The Nth channel. 
 <notextile>#</notextile> - The channel name. 
 @<wid> - Channel matching a window id. 

 *Properties* 

 .topic - Returns the channel topic. 
 .mode - Returns the channel modes. 
 .key - Returns the channel key. 
 .limit - Returns the channel user limit. 
 .logfile - Returns the channel log filename. (if any) 
 .stamp - Returns [[$true]] if timestamps is enabled for this channel, otherwise [[$false]]. 
 .status - Returns the channel status, Parted/Joined/Kicked/Joining. 
 .inwho - TODO 
 .wid - Returns the associated window id. 
 .cid - Returns the assoicated connection id. 
 .hwnd - Returns associated window handle. 
 .banlist - TODO 
 .ial - TODO 
 .ibl - TODO 
 .iel - TODO 
 .iil - TODO 
 .idle - Returns the amount of time the channel has been idle. This does not include entries made from the local AdiIRC client.