Difference between revisions of "Auction Color"
Jump to navigation
Jump to search
(Created page with "<?xml version="1.0" encoding="ISO-8859-1" ?> <cmud> <trigger priority="1" copy="yes"> <pattern>^ (???) |%s(%d)%s|%s(%d)%s|%s(%d)%s|%s(%d)</pattern> <value>#if @bidline=...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | A very simple script to colorize each auction post for easier viewing. | ||
+ | |||
+ | <pre> | ||
<?xml version="1.0" encoding="ISO-8859-1" ?> | <?xml version="1.0" encoding="ISO-8859-1" ?> | ||
<cmud> | <cmud> | ||
Line 9: | Line 12: | ||
</trigger> | </trigger> | ||
</cmud> | </cmud> | ||
+ | </pre> | ||
+ | <pre> | ||
<?xml version="1.0" encoding="ISO-8859-1" ?> | <?xml version="1.0" encoding="ISO-8859-1" ?> | ||
<cmud> | <cmud> | ||
Line 15: | Line 20: | ||
<value>#if @bidline=0 { | <value>#if @bidline=0 { | ||
#CO cyan} { | #CO cyan} { | ||
− | |||
#CO green}</value> | #CO green}</value> | ||
</trigger> | </trigger> | ||
</cmud> | </cmud> | ||
+ | </pre> | ||
+ | |||
+ | [[Category: Cmud Scripting]] |
Latest revision as of 22:21, 16 August 2015
A very simple script to colorize each auction post for easier viewing.
<?xml version="1.0" encoding="ISO-8859-1" ?> <cmud> <trigger priority="1" copy="yes"> <pattern>^ (???) |%s(%d)%s|%s(%d)%s|%s(%d)%s|%s(%d)</pattern> <value>#if @bidline=1 {#var bidline 0 #CO cyan} { #var bidline 1 #CO green}</value> </trigger> </cmud>
<?xml version="1.0" encoding="ISO-8859-1" ?> <cmud> <trigger priority="3910" copy="yes"> <pattern>^%s> %1</pattern> <value>#if @bidline=0 { #CO cyan} { #CO green}</value> </trigger> </cmud>