|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Tue Jun 10, 2008 9:44 am
[2.26] MXP color |
Code: |
<trigger priority="210" id="21">
<pattern>%q({@crafts})%q</pattern>
<value><![CDATA[#SUB {<send 'crafts %1'><color red>%1</color></send>}]]></value>
</trigger>
|
For some reason the color is completely ignored. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Jun 10, 2008 10:35 am |
Yep, colour tag goes on the outside.
Also, for future reference, it's a good idea to include the variable in the pattern so we can do exactly what you're doing. In this case, I could just use the #mxp command or something to echo the text, but in other cases that won't work. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Jun 10, 2008 5:02 pm |
Actually, this is a bug that I plan to fix in v2.27. In 2.26 it is broken and you have to put the color tag outside of the send tag for it to work. Or wait till 2.27 later this week.
|
|
|
|
|
|