Re: DG scripts

From: The Merciless lord of Everything (serces@MUD.DK)
Date: 05/22/98


> I just got DG scripts and i must say... They kick a$$!
> Im still a newbie but i made some cool things...an elevator for example.
> But theres one problem. My mecho and mechoaround dont work!
*grin* I had the same problem, Never got around to tell anyone it
though.

Look in Interpreter.c and see MECHOAROUND is defined before
MECHO, which means that whenever the mob Executes the command MECHO
it will compare it to MECHOAROUND and since MECHO is contained in
MECHOAROUND, it will get executed.

A fix for this :
Take the
{ "mecho", POS_DEAD, do_mecho, 0,0 },
and move it ABOVE
{ "mechoaround", POS_DEAD, do_mechoaround, 0, 0},

Or even better yet.. Sort them alphabetically.. :)

S. P. Skou
Serces - Ancient at the Realm of Chaos - chaos.mud.dk 4000


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST