ID:136454
 
Is there anyway?
You can macro-proof your verbs by putting a time delay on them, like so:

<code>mob/var/attacklock=0 mob/verb/attack(mob/enemy) if (attacklock) return attacklock=1 spawn(10) attacklock=0 // attack code goes here</code>

As for disabling macros themselves, I don't believe there is a way.
In response to Crispy
Ooh! You could set a script that takes up every single macro in the game, thus leaving nothing for the person to set as a macro!
In response to Garthor
Garthor wrote:
Ooh! You could set a script that takes up every single macro in the game, thus leaving nothing for the person to set as a macro!

Except that macros set by the user override ones set by the game (I think).
In response to Crispy
Bah! Macros set by the game should override the user's macros.
In response to Crispy
Make a new .dms file. Put something like this for every key.


macro
a return "macroproc"
b return "macroproc"
c return "macroproc"
d return "macroproc"
e return "macroproc"
f return "macroproc"
g return "macroproc"
etc.

mob/verb
macroproc()
set hidden = 1


This will override the usr's macros making it impossible to use any macros.

::DBHavenMaster::


In response to Garthor
They do.
In response to DBHavenMaster
Gee, because that's absolutely nothing like what I just said!
In response to Garthor
hehe didn't read that...but I WROTE the script...not just come up with an idea...

::DBHavenMaster::
In response to DBHavenMaster
You didn't write the whole script though, did ya? :)

Besides, it isn't very hard to turn that idea into a script; it's fairly self-evident how to do it.
In response to WizDragon
this doesent work........................................................................................................................................................................................................................................................................................................

not only does it come up with errors for half the keys but i got this error when i fixed it up the best i could! (im a newbie) 38:error at '{': variable not defined
and that was for verb.... >.<
In response to SuperLink
SuperLink wrote:
this doesent work........................................................................................................................................................................................................................................................................................................

not only does it come up with errors for half the keys but i got this error when i fixed it up the best i could! (im a newbie) 38:error at '{': variable not defined
and that was for verb.... >.<

U gotta put a return "macroproc" in a dms file not a dm file or your gonna have a bad time!