On INPUT » History » Version 1
Per Amundsen, 11/17/2015 04:11 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *<notextile>on <level>:INPUT:<*|#|?|=|!|@>:<commands></notextile>* |
||
| 4 | |||
| 5 | Triggers when you enter text in an Editbox and press enter. |
||
| 6 | |||
| 7 | *Parameters* |
||
| 8 | |||
| 9 | <level> - The level for the event to trigger. |
||
| 10 | <*|#|?|=|!|@> - The [[Matchtarget]] to listen to. |
||
| 11 | <commands> - The commands to be performed when the event listener's criteria is met. |
||
| 12 | |||
| 13 | *Example* |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | on *:INPUT:#:echo -ag Sending the text $1- to channel $chan |
||
| 17 | </pre> |