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


Joined: 20 Nov 2001
Posts: 4
Location: USA

PostPosted: 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
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
son14ic
Newbie


Joined: 20 Nov 2001
Posts: 4
Location: USA

PostPosted: Tue Nov 20, 2001 5:42 am   
 
It worked. Thank for the help. Mostly appreciated.


-Edison
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