On keydown

From Scriptwiki
Jump to: navigation, search

Triggers when a user presses a key in a custom window

on <level>:KEYDOWN:@:<key,...,keyN>:<commands>
  • Key, KeyN is a comma delimated list of the ascii values of the keys which this keypress event should trigger on.


On *:KEYDOWN:#:32:echo -atg $me pressed the space bar down.

See Also