It was from the macro depot and used to display the exp gained after each kill but since updating it doesnt work, can anyone help? :)
Code: Select all
sub event_exp
/delay 1s
|/echo EVENT FIRED OFF
/varset v57 $char(exp)
/varcalc v58 $v57-$v56
/varcalc v60 100-$char(exp)
/varcalc v59 $v60/$v58
/if n $v58>0 {
/echo and you've gained $v58% exp, bringing your total exp to $char(exp)%!!
/echo Don't forget, $v60% left till level, with only $v59 of these mobs to kill.
/varset v73 0
} else {
/echo Exp Gain Not Displayed with This Kill, Sorry.. yer still at $char(exp)% sorry..
/varadd v73 1
/echo exp has not been calculated for $v73 kill(s).. = (
}
/varset v56 $char(exp)
/delay 1s
|/echo EVENT FIRED OFF
/varset v67 $char(aa,exp)
/varcalc v68 $v57-$v56
/varcalc v70 100-$char(aa,exp)
/varcalc v69 $v60/$v58
/if n $v68>0 {
/echo and you've gained $v68% AAxp, bringing your total AAxp to $char(aa,exp)%!!
/echo Don't forget, $v70% left till next aa point, with only $v59 of these mobs to kill.
/varset v83 0
} else {
/echo AAxp Gain Not Displayed with This Kill, Sorry.. yer still at $char(aa,exp)% sorry..
/varadd v83 1
/echo AAxp has not been calculated for $v83 kill(s).. = (
}
/varset v66 $char(aa,exp)
/return