Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
ccogdill
Beginner


Joined: 16 Jul 2002
Posts: 27

PostPosted: 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.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net