Project

General

Profile

$chan » History » Version 13

Per Amundsen, 08/12/2015 10:49 PM

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
*Parameters*
14
15
N - The Nth channel.
16 4 Per Amundsen
<notextile>#</notextile> - The channel name.
17 8 Per Amundsen
@<wid> - Channel matching a window id.
18 1 Per Amundsen
19
*Properties*
20
21
.topic - Returns the channel topic.
22
.mode - Returns the channel modes.
23
.key - Returns the channel key.
24
.limit - Returns the channel user limit.
25 2 Per Amundsen
.logfile - Returns the channel log filename. (if any)
26 12 Per Amundsen
.stamp - Returns [[$true]] if timestamps is enabled for this channel, otherwise [[$false]].
27 6 Per Amundsen
.status - Returns the channel status, Parted/Joined/Kicked/Joining.
28 1 Per Amundsen
.inwho - TODO
29 6 Per Amundsen
.wid - Returns the associated window id.
30
.cid - Returns the assoicated connection id.
31
.hwnd - Returns associated window handle.
32 1 Per Amundsen
.banlist - TODO
33 2 Per Amundsen
.ial - TODO
34 1 Per Amundsen
.ibl - TODO
35
.iel - TODO
36
.iil - TODO
37 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.