Ok, I'm trying to test macros(Use then eventually :P), but I can't even seem to ge this one working. This is what I have been testing:
DM file
-----------------------------
mob/verb
blah()
dir=turn(NORTH,135)
DMS file
-----------------------------
macro
e return "blah"
I have looked at Deadron's macro demo and besides him being bigger than mine it seems the same. I don't have any macros already set for e, and Deadron's works for me when I try to use it. So I was thinking maybe there was something already in my game that conflicts with these types of macros, any ideas?
ID:174540
Aug 9 2003, 12:16 pm
|
|
In response to Zaltron
|
|
That doesn't seem to work either. I've tried putting the same thing into another game and it seems to work. I'm pretty confused right now. O.o
|
In response to Jnco904
|
|
Is client/command_text being set anywhere else in your code?
|
In response to Crispy
|
|
Yes, but even when I comment it out the macro doesn't work. :|
|
In response to Jnco904
|
|
Did you remember to set
client Setting client/macro_mode = 1 might also help. |
In response to Jon88
|
|
Thanks Jon. My current script var must have been toying with it so I put the <style> for the text display in the same .dms file and it worked. :)
|
client/command_text = ".Alt "