ID:270851
 
Alright. I've been having a lot of trouble with this. For a spell system I'm programming, you select three spells (or Active Spells) which can be used via keyboard macros. A different key for each Active Spell. I created a .dms file, defined three different keys and then created the appropriate verbs to go along with the macros. I run the game, and it tells me that the keys I defined aren't actually defined.

What's going on? =/ I'm stumped at this point.
You've use the wrong macro scripts? To find these macros, use Hiead's Macro Finder.
http://games.byond.com/hub/Hiead/MacroFinder
In response to CaptFalcon33035
An other situation is that the verb is not named the same as the macro, eg:
macro
s return "hi"

mob/verb/hi()
set name="OMGZ"//note that the macro won't work, because this is now named OMGZ not hi (caps sensitive)


- GhostAnime
Do you have client/script defined? You can't have both a .dms file and client/script defined in the same game - one overrides the other, can't remember which. Probably client/script.
In response to Jp
Yeah, knew this. So I removed where I defined client/script, hoping it'd work. Still no luck. Not sure what the deal is with this. =/