On CLIENTTEXT » History » Version 5
Per Amundsen, 11/14/2015 10:14 AM
1 | 1 | Per Amundsen | _Added in 1.9.6_ |
---|---|---|---|
2 | |||
3 | 3 | Per Amundsen | *<notextile>on <level>:CLIENTTEXT:<matchtext>:<*#?=!@>:<commands></notextile>* |
4 | 1 | Per Amundsen | |
5 | 4 | Per Amundsen | Triggers whenever the client sends a client text to any window, [[$1-]] will hold the original client text, can be halted using [[/halt]]. |
6 | 1 | Per Amundsen | |
7 | *Parameters* |
||
8 | |||
9 | <level> - The level for the event to trigger. |
||
10 | 5 | Per Amundsen | <matchtext> - The [[Matchtext]] to listen to. |
11 | 1 | Per Amundsen | <*#?=!@> - 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> |