Project

General

Profile

On CHAR » History » Version 2

Per Amundsen, 04/14/2020 09:47 PM

1 1 Per Amundsen
_Added in 3.9_
2
3
*<notextile>on <level>:CHAR:<*#?=!@>:<key,...,keyN>:<commands></notextile>*
4
5
Trigger when a user presses a key in a picture window which produces a character.
6
7
_See also [[on KEYUP]], [[on KEYDOWN]], [[$keyval]], [[$keychar]], [[$keyrpt]]._
8
9
*Parameters*
10
11
<level> - The [[User Access Level]] for the event to trigger.
12
<*#?=!@> - The [[Matchtarget]] to listen to.
13
<key,...,keyN> - The [[$keyval]] 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 2 Per Amundsen
on *:CHAR:*:*:echo -sg Produced character $keychar in $active
20 1 Per Amundsen
</pre>