Project

General

Profile

Actions

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

Updated by Per Amundsen over 1 year ago · 2 revisions

Also available in: PDF HTML TXT