On LOGON » History » Version 2
Per Amundsen, 11/14/2015 06:21 AM
1 | 1 | Per Amundsen | _Added in 1.9.1_ |
---|---|---|---|
2 | |||
3 | 2 | Per Amundsen | <notextile>*on <level>:LOGON:*:<commands>*</notextile> |
4 | 1 | Per Amundsen | |
5 | Triggers before and after AdiIRC sends the standard PASS, NICK, and USER messages to the server. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | <level> - The level for the event to trigger. |
||
10 | <commands> - The commands to be performed when the event listener's criteria is met. |
||
11 | |||
12 | *Example* |
||
13 | |||
14 | <pre> |
||
15 | ; Listen for LOGON event before AdiRC sends PASS, NICK, USER messages. |
||
16 | on ^*:LOGON:*:echo Logging on to $network $server |
||
17 | |||
18 | ; Listen for LOGON after AdiRC sent PASS, NICK, USER messages. |
||
19 | on *:LOGON:*:echo Logged on to $network $server |
||
20 | </pre> |