Usage
Syntax: keyname(int)
Returns string.
Explanation
Returns the name of the key currently assigned to the passed action (expressed as a magical integer value).
This name will sometimes be different on different system due to localization.
The magical integer value works the same way as the one keydown requires.
Example
function onCreated() { for (temp.i = 0; temp.i < 10; temp.i ++) { echo("keyname(" @ temp.i @ ") = " @ keyname(temp.i)); } }
... will print crazy stuff to your log.
Categories
CategoryFunctionClientside