$target » History » Version 3
Per Amundsen, 08/06/2015 03:09 AM
1 | 1 | Per Amundsen | _Added in 1.8.10_ |
---|---|---|---|
2 | |||
3 | *$target* |
||
4 | |||
5 | 3 | Per Amundsen | Returns the target window for an [[Scripting_Events|event]]. |
6 | 1 | Per Amundsen | |
7 | _#channel/nick/Status Window_ |
||
8 | |||
9 | *Example* |
||
10 | |||
11 | <pre> |
||
12 | ; Print target window for a new incoming message. |
||
13 | on *:TEXT:*:*:echo -ag Target window is $target |
||
14 | </pre> |