ID:267625
 
Hi
I know how to have the center numberpad button do the same as a verb

client
Center()
'whatever'

but how can i use other keys like letters?

thanks

Create a new script file(.dms) and then do something like:
macro
A return "Verb here"

then in a normal code file(.dm) make a verb.

mob/verb/Verb_Here()
In response to Airjoe
umm i think i dont under stand or you didnt understand what i said...

how can i use the keyboard to use a verb

e.g.

client
Center()
usr << "hello"


and that instead of having a verb panel that will make it so you have to press the center key in the number pad...

but

how can i use other keys like "z" or "f" etc

In response to Mousie_kebabs
Post [link]

That tells you how pressing the "A" keys will return the "Verb here" verb. Its really simple.

<-Airjoe->