Project

General

Profile

$chan » History » Version 14

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