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
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Fri Mar 31, 2006 6:33 pm   

#psub formatting?
 
Is it possible to format the psub IE color?

Example. Trigger is:

You land [ 15 of 15] attacks on bob: lacerating (367) damage!!

Psubed output:

[ 367 ] You land [ 15 of 15] attacks on bob: lacerating (367) damage!!

However the [ 367 ] will be the same color that You was. I'd like to keep the backets [] the same color as You and then change the 367 to be another color. That possible? TIA!!!! =D
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Sat Apr 01, 2006 2:16 am   
 
*bump* Anyone?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Apr 01, 2006 3:32 am   
 
Yes, it's possible. It's all explained in the #psub helpfile, but I believe you need to specify the character position (in this case it would be 1 and 1) instead of %x1 and you'd simply replace "Y" with "%ansi(line color)[ %ansi(data color)%1 %ansi(line color)] Y".

You might need to fiddle with the replacement string, possibly resorting to %concat() to get things working.
_________________
EDIT: I didn't like my old signature
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