$chan » History » Version 25
Per Amundsen, 02/22/2021 03:33 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 | 22 | Per Amundsen | .topicsetby - Returns the nick who set the current channel topic. *(AdiIRC only)* |
25 | .topicsetat - Returns the time the current channel topic was set. *(AdiIRC only)* |
||
26 | 1 | Per Amundsen | .mode - Returns the channel modes. |
27 | 22 | Per Amundsen | .rawmode - Returns all channel modes and parameters. *(AdiIRC only)* |
28 | 1 | Per Amundsen | .key - Returns the channel key. |
29 | .limit - Returns the channel user limit. |
||
30 | 2 | Per Amundsen | .logfile - Returns the channel log filename. (if any) |
31 | 12 | Per Amundsen | .stamp - Returns [[$true]] if timestamps is enabled for this channel, otherwise [[$false]]. |
32 | 6 | Per Amundsen | .status - Returns the channel status, Parted/Joined/Kicked/Joining. |
33 | 1 | Per Amundsen | .wid - Returns the associated window id. |
34 | 18 | Per Amundsen | .cid - Returns the associated connection id. |
35 | 6 | Per Amundsen | .hwnd - Returns associated window handle. |
36 | 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]]. |
37 | .banlist - Returns [[$true]] if the channel ban list is synced for this channel, otherwise [[$false]]. |
||
38 | .ibl - Returns [[$true]] if the channel ban list is synced for this channel, otherwise [[$false]]. |
||
39 | .iel - Returns [[$true]] if the channel exception list is synced for this channel, otherwise [[$false]]. |
||
40 | .iil - Returns [[$true]] if the channel invite list is synced for this channel, otherwise [[$false]]. |
||
41 | 20 | Per Amundsen | .iql - Returns [[$true]] if the channel quiet list is synced for this channel, otherwise [[$false]]. |
42 | 25 | Per Amundsen | .ial - Returns [[$true]] if all nicks in the channel has a hostname/address otherwise [[$false]]. |
43 | 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. |
44 | 24 | Per Amundsen | .lastnick - Returns the last nick who spoke on the channel, returns [[$null]] if last message didn't have a nick. *(AdiIRC only)* |