|
misaochankun Beginner
Joined: 01 Feb 2003 Posts: 27 Location: USA
|
Posted: Sun Jan 02, 2005 7:49 pm
Using a trigger to hilight or color change only 1 word |
In the examples, a trigger can be written to hilight or color change the entire line if a word you are looking for is inside it.
Can a more advanced trigger be written that only hilights that one word?
It would be far easier to read if possible. |
|
|
|
misterbalrog Apprentice
Joined: 26 Oct 2004 Posts: 108
|
Posted: Sun Jan 02, 2005 8:16 pm |
#cw {word} {color}
That will color only 1 word or phrase and not the entire line. |
|
|
|
misaochankun Beginner
Joined: 01 Feb 2003 Posts: 27 Location: USA
|
Posted: Mon Jan 03, 2005 4:05 am |
Thanks.
To get it to work, I had to do #tr { pattern } { #cw color } |
|
|
|
misterbalrog Apprentice
Joined: 26 Oct 2004 Posts: 108
|
Posted: Mon Jan 03, 2005 2:19 pm |
doing #cw... stuff I wrote in the command input line should of created that trigger by itself. Strange that it did not for you. Older version of zMUD perhaps ? Anyway. Good riddance.
|
|
|
|
misaochankun Beginner
Joined: 01 Feb 2003 Posts: 27 Location: USA
|
Posted: Mon Jan 03, 2005 5:16 pm |
Nope, I tried it from the command line and no triggers were created.
I have the latest version, since it auto updates.
It works now though. |
|
|
|
misterbalrog Apprentice
Joined: 26 Oct 2004 Posts: 108
|
Posted: Mon Jan 03, 2005 8:43 pm |
That's something that could potentially cripple you. If more commands act the same way and do not fire off correctly from the command line like the #cw doesn't do for you...
To see that it should do as such and that the syntax is correct, all you have to do is type #cw in the command line and on it or at the end of the command/word Press F1 and it'll show you the command-wizard for the #cw command. It shows 2 entries, one which is the word or phrase you wish to color, and the second the color itself.
That this command does not work, is like I said, possibly crippling you. Any wizard that happens to know any setting that may cause this? |
|
|
|
|
|