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