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


Joined: 02 Apr 2006
Posts: 20

PostPosted: Mon Jun 19, 2006 2:55 am   

help with another trigger
 
hi there I need a little help with this trigger


Code:

#TRIGGER {^You pick up (%x)'s mental link, ~"(*)~"} {
  #SUB {%1~(LINK~)~:~"%2~"%time( h:nn:ss am/pm)}
  #CAP Links


this is what I get from the mud
You pick up Xlendal's mental link, "hi"
this is what it does for me
Xlendal(LINK):"hi"9:48:24 pm


I want it to color the name of the person sending the link I can color the whole thing but cant figure out how to just color the name. Thanks a bunch
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Mon Jun 19, 2006 6:20 am   
 
Well you you can use the %ansi command, but you are probably better off using MXP.

Code:
#SUB {%ansi(red,black)%1%ansi(default)~(LINK~)~:~"%2~"%time( h:nn:ss am/pm)}
or
Code:
#SUB {<color red>%1</color>~(LINK~)~:~"%2~"%time( h:nn:ss am/pm)}


Of course you must have MXP enabled if you'd like to use it.
_________________
Asati di tempari!
Reply with quote
dravond
Beginner


Joined: 02 Apr 2006
Posts: 20

PostPosted: Mon Jun 19, 2006 7:18 pm   
 
thanks ill give it a shot. Very Happy
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