Added in 3.9

on <level>:CHAR:<*#?=@>:<key,...,keyN>:<commands>

Trigger when a user presses a key in a picture window which produces a character.

See also on KEYUP, on KEYDOWN, $keyval, $keychar, $keyrpt.

Parameters

<level> - The User Access Level for the event to trigger.
<*#?=!@> - The Matchtarget to listen to.
<key,...,keyN> - The $keyval to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.

Example

on *:CHAR:*:*:echo -sg Produced character $keychar in $active