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
Shujinko07
Beginner


Joined: 31 Mar 2008
Posts: 10

PostPosted: Mon Apr 14, 2008 7:16 pm   

Coloring the target
 
Suppose your trigger for your target is #alias t {target=%1}
#status {Target: @target}

How can you color the target so that it can appear red or whatever color you choose?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Apr 14, 2008 7:47 pm   
 
Easy, just use the variable in the pattern and it'll work. Try %q@target%q.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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