Difference between revisions of "Auction Color"
Jump to navigation
Jump to search
(2 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" ?> | |
− | + | <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> | |
− | + | </pre> | |
− | + | <pre> | |
− | + | <?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> | ||
+ | </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>