1. eh, true, i was basing it off his.. if it was my project i would.2. ah forgot the return, thank you
One more thing to note, is that keys call the command both when they are pressed, and when they are released.say key "K" is bound to command "cake"Code: [Select]function cake(%x){ if(%x) echo("You pressed the key"); else echo("You released the key");}
function cake(%x){ if(%x) echo("You pressed the key"); else echo("You released the key");}