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


Joined: 19 Oct 2005
Posts: 2

PostPosted: Wed Oct 19, 2005 1:22 am   

A newbie trigger question
 
I am having some problems getting a trigger to respond to any stimulus from the mud I play, and was wondering if there was someone who could help me out - it's a very basic question, but I've read the trigger help file, and looked up the tutorial and still have had no luck:

I want to have my client highlight the text "bob the man" in a color (preferably a custom color if possible) but lets use red.

If I can use the colors from preferences/colors/foreground mapping, like #9 or something that would be ideal.

-I open up my trigger menu using the triggers button
-I click "new"
-I put "bob the man" in the pattern field
-I put "#TRIGGER {bob the man} {#CW red}" in the value field
-I then save, and type "look" where "bob the man" appears, and nothing happens.

The text "bob the man" appears on my screen, just as it always is, not in red.

Thanks in advance
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Oct 19, 2005 1:35 am   
 
Quote:

-I put "#TRIGGER {bob the man} {#CW red}" in the value field


This is where you went wrong. When creating triggers using the Settings Editor, you only specify the actual text/stuff the trigger is supposed to do.

If you create triggers using the command-line or the text editor, you use the whole #TRIGGER {pattern} {code} syntax.
_________________
EDIT: I didn't like my old signature
Reply with quote
Jsteven
Newbie


Joined: 19 Oct 2005
Posts: 2

PostPosted: Wed Oct 19, 2005 4:51 pm   
 
Worked beautifully. Thanks again.
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