|
dravond Beginner
Joined: 02 Apr 2006 Posts: 20
|
Posted: 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 |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: 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! |
|
|
|
dravond Beginner
Joined: 02 Apr 2006 Posts: 20
|
Posted: Mon Jun 19, 2006 7:18 pm |
thanks ill give it a shot.
|
|
|
|
|
|