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

