ESC is quite. And you do realize that you will have to change alot in the source for it to work. If you put all of that code in an element it may crash. Or, you could use STD functions but this may jam the element loop system and freeze the game, I don't really know.
Perhaps just program the game itself to have an input for each letter, and just have them do nothing untill a pixle of KSNS is put on the screen. Rarther than use a loop to see if a button has being pressed, just have it so when a button is pressed, KSNS turns into sprk for a breif moment. Then turns back.
Pressing the correct button would be like pressing "!set type KSNS sprk" that wouldn't lag either.
KSNS's temp corresponding to ascii ## or whatnot. Or I believe you could use stickman and some detectors to achieve detection of WASD and arrows.
After I proof read my suggestion I was like hell no!
jenn4:
And what about the current hotkeys?