FANDOM


This is the health_checker script from the duris webside, but I have taken the buttons out and the group_stat window out as well.


if you wish to add the group_stat window add:

  1. TRIGGER {Health~[*~]} {#capture {Group Stats}} "health_check"


I prefer it without the extra window tho since I use a tells window that has saved me more times then I can count.


  1. ALIAS gr {group;#clr {Group Stats}} "health_check"
    #TRIGGER {*%s(&%d{current_hp})/(&%d{max_hp})%shit,%s(&%d{current_mv})/(&%d{max_mv})%smove%s(&group_member)$} {#math hp_difference (@current_hp - @max_hp);#math hp_percentage (@current_hp*100/@max_hp);#if @hp_difference<@temp_hp {temp_hp=@hp_difference;#var healfirst @group_member};#if @hp_percentage<@temp_percentage {temp_percentage=@hp_percentage;#var healmefirst @group_member};#if @hp_percentage<21 {#math hp_difference (@max_hp-@current_hp);#SAY {"Health"%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, blink, red)dying %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};:tells: #SAY {" "%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, blink, red)dying %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};#abort 1};#if @hp_percentage<41 {#math hp_difference (@max_hp-@current_hp);#SAY {"Health"%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, red)hurting %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};:tells: #SAY {" "%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, red)hurting %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};#abort 1};#if @hp_percentage<61 {#math hp_difference (@max_hp-@current_hp);#SAY {"Health"%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, blue)wounded %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};:tells: #SAY {" "%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is %ansi( bold, blue)wounded %ansi( bold, white)~| %ansi( bold, blink, red)@hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};#abort 1};#if @hp_percentage<81 {#math hp_difference (@max_hp-@current_hp);#SAY {"Health"%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member has %ansi( bold, yellow)small wounds %ansi( bold, white)~| @hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};:tells: #SAY {" "%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member has %ansi( bold, yellow)small wounds %ansi( bold, white)~| @hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};#abort 1};#if @hp_percentage<96 {#math hp_difference (@max_hp-@current_hp);#say {"Health"%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is scratched %ansi( bold, white)~| @hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};:tells: #SAY {" "%ansi( bold, white)~[ %ansi( bold, green)-@hp_difference %ansi( bold, white)~| %ansi( bold, cyan)@group_member is scratched %ansi( bold, white)~| @hp_percentage%ansi( bold, green)~% %ansi( bold, white)~]};#abort 1}} "health_check"

All items (1)