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
Ren
Beginner


Joined: 04 Apr 2003
Posts: 27

PostPosted: Mon Apr 07, 2003 4:53 pm   

Another trigger question.
 
I have some variables with names in it, under the class 'list'. Mad, is one of them.

I also have triggers to colour the different variables with different colours. However, I don't want them coloured all the time, only during specific instances, like say when one of the names walk into my room.

Mad arrives from the west.

How do I colour the word Mad, and then disable the class 'list' again?

The closest I can think of is #cla list 1;#wa;#cla list 0, which doesn't work.

- Ren
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Mon Apr 07, 2003 5:52 pm   
 
#t- class name turns of the class
#t+ class name turns on the class

#var freiends mad|sad|glad|dip
#trigger {^({@feiends}) arrives from the %w.$} {put the color stuff here use %1 as the friend.}

megamog75
Keeper of the only printable help files for Zmud.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Apr 07, 2003 5:58 pm   
 
There's a new command in 6.40 which is ideal for this.
#TR {({@names}) arrives from the} {#PCOL blue %x1}

LightBulb
Advanced Member
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