|
son14ic Newbie
Joined: 20 Nov 2001 Posts: 4 Location: USA
|
Posted: Tue Nov 20, 2001 5:02 am
Help in highlighting text |
I'm trying to highlight a line from the MUD and it doesn't seem to be working.
When I type scan,
(this appears)
[North]
Rumah (Player)
[East]
No exit.
[South]
Chloe
[West]
No exit.
[Up]
Nobody here.
[Down]
Nobody here.
I want to highlight the second line, Rumah (Player),so this is what I inputed:
#var pal %1
pal=Rumah
#trigger { @pal (Player)} {#color green} Buddy
Can you tell me what I'm doing wrong here?
Thank you for your time.
-Edison |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Nov 20, 2001 5:14 am |
quote:
#trigger {@pal ~(Player~)} {#color green} Buddy
The tilde might be a little hard to see as a red color, but you need to put the quote character (the tilde) before the parentheses so ZMud knows you're actually looking for parentheses and not trying to put 'Player' in the %1 variable.
li'l shmoe of Dragon's Gate MUD |
|
|
|
son14ic Newbie
Joined: 20 Nov 2001 Posts: 4 Location: USA
|
Posted: Tue Nov 20, 2001 5:42 am |
It worked. Thank for the help. Mostly appreciated.
-Edison |
|
|
|
|
|