Quick Buff Status Check
Posted: Tue Mar 14, 2006 1:41 am
This provides a fast way to check buffs before engaging a target, so you can ensure then wont wear off at the wrong time.
It will echo any buff with less then 10 minutes remaining, also giving how many ticks are left.
It will echo any buff with less then 10 minutes remaining, also giving how many ticks are left.
Code: Select all
#Event BuffCheck "[MQ2] buffcheck"
Sub Event_BuffCheck
/declare i int local 0
/for i 0 to 25
/if (${Me.Buff[${i}].ID} && ${Me.Buff[${i}].Duration} < 100) {
/echo Less then ${Me.Buff[${i}].Duration} Ticks left on > ${Me.Buff[${i}].Name} <
}
/next i
/echo *Done Checking Buff Durations
/return