|
Post by monkichi on Sept 6, 2011 22:48:01 GMT -5
I know autowarn prompts will probably be fixed soon, but since i'm terrible at paying attention, i needed my color coding now I threw together this trigger in cmud to get me through until real prompts are back. I know there are probably better ways of doing it, but hey, it works for me and if anyone is desperate enough for colors, here's how i got mine back...sorta... My mud prompt code is: <%i/%Hh %n/%Mm %w/%Vv>%xxp>%c> (don't laugh, I know it's terrible and takes up half the line...) trigger i made was: ^<(%d)/(%d)h (%d)/(%d)m (%d)/(%d)v> Script Text: #if (%1 > (%2*0.66)) {#PCOL mxplimegreen %x1} {#if (%1 < (%2*0.34)) {#PCOL mxpred %x1} {#PCOL mxpyellow %x1}} #if (%3 > (%4*0.66)) {#PCOL mxplimegreen %x3} {#if (%3 < (%4*0.34)) {#PCOL mxpred %x3} {#PCOL mxpyellow %x3}} #if (%5 > (%6*0.66)) {#PCOL mxplimegreen %x5} {#if (%5 < (%6*0.34)) {#PCOL mxpred %x5} {#PCOL mxpyellow %x5}} colors my current health, mana and moves green, yellow and red with the cutoffs being about a third of my maxes (which are different cut offs than when the mud changes colors but I'm too lazy to change it around to match). My non-casters have the same thing except i just took out the (%d)/(%d)m part since they don't have mana in their prompts and took out the last #if line. If anyone has a better way of doing it, let me know! I almost got desperate enough to go back to Mushclient for the graphical health/mana/moves bar... p.s. also had to check the 'Trigger on Prompt' box at the bottom
|
|