FANDOM


Posted on the Duris Forums by Sniktiorg. It works on CMud 3.34. The author states that he removed the Window Capture portion of the script for brevity and ease of use.


Pattern:

~(&gpos~)%s&%nhit/&%dmaxhit%shit,%s&%nmov/&%dmaxmov%smove &name


Command:

#GAG
#MATH hitper (@hit * 100 / @maxhit);
#MATH hitdif (@hit - @maxhit);
#MATH movper (@mov * 100 / @maxmov);
#MATH movdif (@mov - @maxmov);

#SAYP %ansi(high, black)"["%ansi(gray)@gpos%ansi(high, black)"] "
#IF (@hitper <= 0) { #SAYP %ansi(red)@hit
} { #IF (@hitper < 35) { #SAYP %ansi(high, red)@hit
} { #IF (@hitper < 45) { #SAYP %ansi(magenta)@hit
} { #IF (@hitper < 60) { #SAYP %ansi(high, magenta)@hit
} { #IF (@hitper < 70) { #SAYP %ansi(yellow)@hit
} { #IF (@hitper < 80) { #SAYP %ansi(brown)@hit
} { #IF (@hitper < 95) { #SAYP %ansi(green)@hit
} { #IF (@hitper <= 100) { #SAYP %ansi(high, green)@hit
} { #IF (@hitper > 100) { #SAYP %ansi(white)@hit}}}}}}}}}
#SAYP %ansi(high, black)"/"%ansi(gray)@maxhit%ansi(high, black)" hit"%ansi(high, red)", "
#IF (@movper <= 0) { #SAYP %ansi(red)@mov
} { #IF (@movper < 35) { #SAYP %ansi(high, red)@mov
} { #IF (@movper < 45) { #SAYP %ansi(magenta)@mov
} { #IF (@movper < 60) { #SAYP %ansi(high, magenta)@mov
} { #IF (@movper < 70) { #SAYP %ansi(yellow)@mov
} { #IF (@movper < 80) { #SAYP %ansi(brown)@mov
} { #IF (@movper < 95) { #SAYP %ansi(green)@mov
} { #IF (@movper <= 100) { #SAYP %ansi(high, green)@mov 
} { #IF (@movper > 100) { #SAYP %ansi(white)@mov}}}}}}}}}
#SAYP %ansi(high, black)"/"%ansi(gray)@maxmov%ansi(high, black)" move "%ansi(high, red)"- "%ansi(gray)@name%ansi(high, black)
#IF (@hitdif <> 0) { #SAYP %ansi(high, black)" ("%ansi(gray)@hitdif%ansi(high, black)")"}
#IF (@hitper <= 0) {
#SAYP %ansi(high, red)" -= MORTED =-"%ansi(norm)
} { #IF (@hitper > 100) { #SAYP %ansi(white)" -= VAMPED =-"%ansi(norm) }}
#SA %ansi(norm)