ID:148180
 
Eck. I think my BYOND crapped out on my or something. Does anyone see anything wrong with this coding:

---macros.dms---
macro
a return "westa"
d return "easta"
s return "southa"
w return "northa"
z return "strifeleft"
c return "striferight"

---main.dm---
client
command_text = ".alt "
mob
verb
northa()
set hidden = 1
usr.client.North()
southa()
set hidden = 1
usr.client.South()
easta()
set hidden = 1
usr.client.East()
westa()
set hidden = 1
usr.client.West()



When ever I try to go in the game and use it, it gives me these errors:

[No macro is defined for "a". Toggle macro-mode to use the command prompt, or preface commands with "/".]


I'd appritiate if someone could help me. Thanks.

-Chris
In a dm file, try adding client.script = 'macros.dms'
In response to Jon88
It should automatically include the .dms file. Maniack, do you have client/script set to anything? If you do, then there's your problem; setting client/script overrides the .dms files.