Project

General

Profile

$chan » History » Version 19

Per Amundsen, 11/19/2016 05:48 AM

1 1 Per Amundsen
_Added in 1.5_
2
3
*$chan*
4
5 11 Per Amundsen
Returns the name of the channel for a specific [[Scripting_Events|event]]. For all non-channel events [[$chan]] will be [[$null]].
6 1 Per Amundsen
7 10 Per Amundsen
-----------------------------------------------------------------------------
8
9 13 Per Amundsen
*$chan(N|#|@<wid>)*
10 1 Per Amundsen
11
Returns information about channel # or Nth channel.
12
13 14 Per Amundsen
_Same as [[$channel]]._
14
15 1 Per Amundsen
*Parameters*
16
17
N - The Nth channel.
18 4 Per Amundsen
<notextile>#</notextile> - The channel name.
19 15 Per Amundsen
@<wid> - Channel matching a [[$wid|window id]].
20 1 Per Amundsen
21
*Properties*
22
23
.topic - Returns the channel topic.
24
.mode - Returns the channel modes.
25 16 Per Amundsen
.rawmode - Returns all channel modes and parameters. (AdiIRC only)
26 1 Per Amundsen
.key - Returns the channel key.
27
.limit - Returns the channel user limit.
28 2 Per Amundsen
.logfile - Returns the channel log filename. (if any)
29 12 Per Amundsen
.stamp - Returns [[$true]] if timestamps is enabled for this channel, otherwise [[$false]].
30 6 Per Amundsen
.status - Returns the channel status, Parted/Joined/Kicked/Joining.
31 1 Per Amundsen
.wid - Returns the associated window id.
32 18 Per Amundsen
.cid - Returns the associated connection id.
33 6 Per Amundsen
.hwnd - Returns associated window handle.
34 18 Per Amundsen
.inwho - Returns [[$true]] if you sent a /who #channel to the server to fill the IAL with addresses from that channel, and the /who is still in progress, otherwise [[$false]].
35
.banlist - Returns [[$true]] if the channel ban list is synced for this channel, otherwise [[$false]].
36
.ibl - Returns [[$true]] if the channel ban list is synced for this channel, otherwise [[$false]].
37
.iel - Returns [[$true]] if the channel exception list is synced for this channel, otherwise [[$false]].
38
.iil - Returns [[$true]] if the channel invite list is synced for this channel, otherwise [[$false]].
39 19 Per Amundsen
.iql - Returns [[$true]] if the channel quiet list is synced for this channel, otherwise [[$false]]. (AdiIRC only)
40 18 Per Amundsen
.ial - TODO (always returns [[$true]])
41 9 Per Amundsen
.idle - Returns the amount of time the channel has been idle. This does not include entries made from the local AdiIRC client. 
42 17 Per Amundsen
.lastnick - Returns the last nick who spoke on the channel, returns [[$null] if last message didn't have a nick. (AdiIRC only)