Code: Select all
Sub SitCheck
/if ( ${Stick.Active} || ${Me.Moving} || !${Cast.Ready} || ${Me.Sitting} || !${NetBots[${Tank}].Attacking} ) /return
/sit
/return
The only problem lies when a character running this tries to use an AA as they sit down immediately and somehow cancel the cast but put the AA on cooldown. I've tried ${Me.Casting.ID} in place of !${Cast.Ready} and it's the same outcome. It's odd because they return the expected results when /echo'd during casting of an AA: spell id or FALSE respectively. Anyone have a bone to throw?