On CLIENTTEXT » History » Version 2
Per Amundsen, 11/14/2015 02:02 AM
1 | 1 | Per Amundsen | _Added in 1.9.6_ |
---|---|---|---|
2 | |||
3 | *on <level>:CLIENTTEXT:<matchtext>:<*#?=!@>:<commands>* |
||
4 | |||
5 | Triggers whenever the client sends a client text to any window, $1- will hold the original client text, can be halted using [[/halt]]. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | <level> - The level for the event to trigger. |
||
10 | <matchtext> - [[Matchtext]] to listen to. |
||
11 | <*#?=!@> - The [[Matchtarget]] to listen to. |
||
12 | <commands> - The commands to be performed when the event listener's criteria is met. |
||
13 | |||
14 | *Example* |
||
15 | |||
16 | <pre> |
||
17 | 2 | Per Amundsen | on *:CLIENTTEXT:*:echo -ag the client text was $1- |
18 | 1 | Per Amundsen | </pre> |