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


Joined: 27 Mar 2005
Posts: 2

PostPosted: Mon Mar 28, 2005 6:05 am   

Want to color just one word in a trigger
 
I want to color the word representing the amount of gold I have in my pack or inventory.

It is a backpack.
When you look inside, you see:
backpack (used) :
a soft leather pouch
an oilstone
[4] a lantern
a water skin
a diamond wedding ring
thirteen gold crowns <------------- here
a hitching harness

I want it to be gold every time I look at it. Is there a way to do this?

I tried:

#TRIGGER {%w gold crowns}{#CW gold %w)

after reading the helpfiles on it. Your help would be greatly appreciated.

Jenkin
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Mon Mar 28, 2005 11:27 am   
 
This should do it if you have MXP enabled.

#TRIGGER {%w (gold) coins} {#PSUB "<color=gold>gold</color>" %x1}
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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