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
Morpheus@Genesis
Newbie


Joined: 23 Jul 2004
Posts: 1

PostPosted: Fri Jul 23, 2004 6:03 am   

Trigger on Variables list problem
 
Hi!

Plase help!

I would like to have a trigger that colors what people say to me.

I thought I would put all the different speach patterns into a variable and trigger on those values.

So I created a variable that I called "communications". For value I entered "says"

Then I made a trigger.
Pattern: @commuications
Command: #CO red

This worked just fine.

It would work like this.
Ludo says: How are you.
And it would come out red. Which was a good thing as it was what I wanted.

HOWEVER

Sometimes Ludo will mumble. So I added "mumbles" to the variable "communications".

After I added this second word, the trigger did not work at all! What am I doing wrong??? Embarassed

I have nothing in the defalt value box. I use 7.05.

Morpheus
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: Fri Jul 23, 2004 9:16 am   
 
You need to surround the variable Communications by a set of braces, in the trigger pattern:

#trigger {%w {@Communications}:} {#co red}
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