ID:167189
 
Using the space bar and many other buttons, combinations ect. I was wondering how I would go about doing that, so when the player pushes maybe... Space, it would call on a proc to do something... Does anyone know how?
You can create a macro by either using a DMS file or changing client/script. (You can't do both at the same time, as DMS files will be useless if the client script is a true value.)

client/script = {"

macro
space return "that_verb"

"}



mob/verb
that_verb()
...


that_verb() will be called whenever you press the spacebar. Remember that macros just quickly input whatever text you put into it, so you can send arguments through the macro if the verb allows it.

~~> Unknown Person
In addition to what UnknownPerson said, you can use Macro Finder to find the name or specific syntax of a key on the keyboard. Nearly every key is able to hold a macro. :)

Hiead
look in the help section of dream maker in "macro (client script)" ok?
(good luck curt)