|
Jsteven Newbie
Joined: 19 Oct 2005 Posts: 2
|
Posted: 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 |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
Jsteven Newbie
Joined: 19 Oct 2005 Posts: 2
|
Posted: Wed Oct 19, 2005 4:51 pm |
Worked beautifully. Thanks again.
|
|
|
|
|
|