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


Joined: 18 Oct 2002
Posts: 11
Location: Australia

PostPosted: Fri Oct 18, 2002 7:17 am   

Inserting a colored word in the middle of text
 
I have this trigger to effectivly insert the '*Fly*' after I see 'potion of lightness'. It is desirable not to put an echo on the next line for spam reasons.
I would really like to color the '*fly*' but can't get #cw to work inside the #sub command.
Perhaps I'm going about this the wrong way?

#TRIGGER {potion of lightness} {#sub {potion of lightness *Fly*}} "Items"

Regards,
Deavr
Version 6.16
Reply with quote
cingulli
Wanderer


Joined: 30 Aug 2001
Posts: 53
Location: Finland

PostPosted: Fri Oct 18, 2002 8:40 am   
 
#TRIGGER {potion of lightness} {#sub {potion of lightness %ansi(green)*Fly*}} "Items"
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