|
ccogdill Beginner
Joined: 16 Jul 2002 Posts: 27
|
Posted: Sun Mar 16, 2003 8:53 am
norecall rooms colored in my map |
I'd like to make all my norecall rooms colored dark grey. I have set up a trigger to do exactly this:
#TRIGGER {Unsympathetic laughter of the Gods plays upon your ears~.}
{#NODIR
#IF (@stats.Curse == 1) {
#NOOP
} {
#IF (%maplocked( ))
#NOOP %maplocked( 0)
#NOOP %roomcol( ,8421504)
#NOOP %maplocked( 1)
} {
#NOOP %roomcol( ,8421504)
}} "Status|map"
The problem with this trigger is when you type recall you are first teleported to recall room then it colors the map. I'd like to be able to abort the teleporting. I thougth the #NODIR command accomplished this. Any suggestions?
*The same message is given if you are cursed, that is why the @stats.Curse flag is set. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Mar 16, 2003 9:58 am |
There is an alias for recall built into the default.mud. You can override this with one that does not use the #RECALL command until your have actually succesfully recalled. To do this you would want to use a #TEMP trigger, and maybe #UNTRIGGER to remove it on failure.
|
|
|
|
|
|