verb
attack(mob/m in oview(1))
m.health -= usr.damage
Problem description:
I am looking in the dm reference and see that we can set up macros to be used to handle verb to key events. I am trying to set it up so that when the player presses 'a' it is the macro for this verb. In the dm reference I should be doing:
macro
a return "attack"
This is under macros(client script)
However I am not sure where this is suppose to go in the coding exactly. Is this because the macro(client script) is meaning that it would something where you hit a than enter to enter the command into the input area, and it is not just checking for the actual keyboard input of the a key?