$ctrlenter » History » Version 1
Per Amundsen, 08/10/2015 07:11 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$ctrlenter* |
||
4 | |||
5 | Returns [[$true]] if %(key)CTRL% + %(key)ENTER% was pressed during a [[on INPUT]] [[Scripting_Events|event]]. |
||
6 | |||
7 | *Example* |
||
8 | |||
9 | <pre> |
||
10 | on *:INPUT:*:{ |
||
11 | if ($ctrlenter) { |
||
12 | echo -ag ctrl + ENTER was pressed |
||
13 | } |
||
14 | else { |
||
15 | echo -ag ctrl + ENTER was not pressed |
||
16 | } |
||
17 | } |
||
18 | </pre> |