by Calim » Tue Jul 06, 2004 1:16 pm
#defgroup {tank whiner}
#action {^<%1hp %2ma %3mv>} {rep1 $1 $2 $3} {G|tank whiner}
#alias {rep1} {#var hpc %1;#var mac %2;#var mvc %3;#pvar 1 hpc;#pvar 2 mac;rep2} {G|tank whiner}
#alias {rep2} {#math hpdelta {$$hpc-$$hpold};#math madelta {$$mac-$$maold};#math {hpneed} {$$hpm-$$hpc};rep4} {G|tank whiner}
#alias {rep4} {#if {$$hpdelta>35} {$report That's Better - HP: [$hpc / $hpm] (\\d06+$hpdelta\\a01) -> NEED(\\d06$$hpneed\\a01);rep6} else {rep5}} {G|tank whiner}
#alias {rep5} {#if {$$hpdelta<-25} {$report OW! quit it. HP: [$hpc / $hpm] (\\d02$hpdelta\\a01) -> NEED(\\d02$$hpneed\\a01);rep6} else {rep6}} {G|tank whiner}
#alias {rep6} {#var hpold $hpc;#var maold $mac} {G|tank whiner}
#alias {roff} {#var report #showme} {G|tank whiner}
#alias {ron} {#var report grouptell} {G|tank whiner}
#alias {tankme} {ron; gt I will now cry like a baby when I get HIT;parry;rescon} {G|tank whiner}
#alias {res} {rescue $stabber} {G|tank whiner}
#alias {stabber} {#variable stabber $0} {G|tank whiner}
#alias {tm} {tankme} {G|tank whiner}
#variable {hpc} {640} {G|tank whiner}
#variable {hpm} {1023} {G|tank whiner}
#variable {hpold} {640} {G|tank whiner}
#variable {mac} {34} {G|tank whiner}
#variable {maold} {34} {G|tank whiner}
#variable {mvc} {178} {G|tank whiner}
#variable {report} {#showme} {G|tank whiner}
#variable {hpdelta} {2} {G|tank whiner}
#variable {madelta} {0} {G|tank whiner}
#variable {hpneed} {383} {G|tank whiner}
#defgroup {}
This is mine for wintin.net, modified from something Plato posted to the old crier, and tweaked for ingame colors. Red for pain, purple for heals. Tweaked also for the change in tick so that I am not reporting every change, only pain greater then 25 and heals greater then 35.
The report variable switches between #showme and grouptell using ron and roff alias.
I also added the hpneed variable. I think this is the most important thing for a whiner. Healers don't have to do the math in their head, they can just look at that and decide if it is time for them to cast on you.
in the tankme alias, I call rescon, which turns on my auto rescuer. The mana calculations are also useless to me.