On CLIENTTEXT » History » Version 9
Per Amundsen, 04/04/2021 04:09 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 | 7 | Per Amundsen | _Haltable using ^_ |
| 8 | |||
| 9 | 1 | Per Amundsen | *Parameters* |
| 10 | |||
| 11 | 8 | Per Amundsen | <level> - The [[User Access Level]] for the event to trigger. |
| 12 | 5 | Per Amundsen | <matchtext> - The [[Matchtext]] to listen to. |
| 13 | 1 | Per Amundsen | <*#?=!@> - The [[Matchtarget]] to listen to. |
| 14 | <commands> - The commands to be performed when the event listener's criteria is met. |
||
| 15 | |||
| 16 | *Example* |
||
| 17 | |||
| 18 | <pre> |
||
| 19 | 6 | Mr. BS | on *:CLIENTTEXT:*:*:echo -ag the client text was $1- |
| 20 | 9 | Per Amundsen | |
| 21 | ; Halt the "Rejoined #channel" client text. |
||
| 22 | on ^*:CLIENTTEXT:Rejoined *:*:halt |
||
| 23 | 1 | Per Amundsen | </pre> |