ID:267590
 
I need to know the code to assign buttons on the keyboard to game function

EG

1 = Punch
2 = Kick

I need the code to do that.
First off, this is supposed to be in Noob Central, but go to the refrence and look up macros. It should tell you everything you need to know.
Make a new script file (.dms). In it put:

1 return "punch"
2 return "kick"

and in a code file

proc/punch()
usr << "Blah"
proc/kick()
usr << "SUPER Blah!"


.::DBHavenMaster::.