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
Gahl
Newbie


Joined: 31 Aug 2010
Posts: 2

PostPosted: Tue Aug 31, 2010 5:02 pm   

Question about trigger (MAP related)
 
Trying to update someone elses trigger that they had me use. The text has changed in the MUD so I'm not sure what to change

the previous trigger used (pattern) was

You survey your surroundings and conclude that they conform to the standards$of:(&Terrain).

now it's


You survey your surroundings. "Tidy Garden" has atmospheric type: Forest.

I'm not sure how to adjust it so it works

I'm thinking it's

You survey your surroundings. "*" has atmospheric type:(&Terrain).

but not sure why the $ is in the first one

any advice?
Reply with quote
verbiage
Newbie


Joined: 24 Jun 2010
Posts: 8

PostPosted: Thu Sep 02, 2010 6:02 pm   
 
#TRIGGER {^You survey your surroundings. ~"*~" has atmospheric type: &Terrain.$}

You were close, needed to escape the " and you were missing a space beween : and &. The $ means end of a line. All the symbols are explained in the help file.
Reply with quote
Gahl
Newbie


Joined: 31 Aug 2010
Posts: 2

PostPosted: Mon Sep 06, 2010 6:18 pm   
 
so with the above trigger

would this setup still apply?

#cw green
#IF {@Terrain = "Barracks"} {#NOOP %roomcol( %roomvnum( ), red)}
#IF {@Terrain = "Beach"} {#NOOP %roomcol( %roomvnum( ), yellow)}
#IF {@Terrain = "Desert"} {#NOOP %roomcol( %roomvnum( ), sandybrown)}
#IF {@Terrain = "Dwarf City"} {#NOOP %roomcol( %roomvnum( ), slategray)}
#IF {@Terrain = "Eyrie"} {#NOOP %roomcol( %roomvnum( ), cadetblue)}
#IF {@Terrain = "Field"} {#NOOP %roomcol( %roomvnum( ), brown)}
#IF {@Terrain = "Forest"} {#NOOP %roomcol( %roomvnum( ), green)}
#IF {@Terrain = "Freshwater"} {#NOOP %roomcol( %roomvnum( ), blue)}
#IF {@Terrain = "Grasslands"} {#NOOP %roomcol( %roomvnum( ), greenyellow)}
#IF {@Terrain = "Human City"} {#NOOP %roomcol( %roomvnum( ), darkgray)}
#IF {@Terrain = "Marsh"} {#NOOP %roomcol( %roomvnum( ), lime)}
#IF {@Terrain = "Mine"} {#NOOP %roomcol( %roomvnum( ), turquoise)}
#IF {@Terrain = "Mountains"} {#NOOP %roomcol( %roomvnum( ), purple)}
#IF {@Terrain = "Road"} {#NOOP %roomcol( %roomvnum( ), darkslategray)}
#IF {@Terrain = "Rooftop"} {#NOOP %roomcol( %roomvnum( ), darkslategray)}
#IF {@Terrain = "Saltwater"} {#NOOP %roomcol( %roomvnum( ), aquamarine)}
#IF {@Terrain = "Shop Storeroom"} {#NOOP %roomcol( %roomvnum( ), gold)}
#IF {@Terrain = "Snow"} {#NOOP %roomcol( %roomvnum( ), white)}
#IF {@Terrain = "Tropical"} {#NOOP %roomcol( %roomvnum( ), orange)}
#IF {@Terrain = "Underground"} {#NOOP %roomcol( %roomvnum( ), black)}
#IF {@Terrain = "Valley"} {#NOOP %roomcol( %roomvnum( ), navy)}
#IF {@Terrain = "Void"} {#NOOP %roomcol( %roomvnum( ), tomato)}
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