Project

General

Profile

$chan » History » Version 17

Per Amundsen, 04/06/2016 01:54 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 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
.inwho - TODO
32 6 Per Amundsen
.wid - Returns the associated window id.
33
.cid - Returns the assoicated connection id.
34
.hwnd - Returns associated window handle.
35 1 Per Amundsen
.banlist - TODO
36 2 Per Amundsen
.ial - TODO
37 1 Per Amundsen
.ibl - TODO
38
.iel - TODO
39
.iil - TODO
40 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. 
41 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)