Code:
sub main
/declare x int outer
/for x 1 to ${Raid.Members}
/if (${NearestSpawn[${x},pc].Levitating}) /echo ${NearestSpawn[${x},pc].CleanName} levitating
/next x
/echo ${x} checked
/return
I threw this together tonight because a returning player was continually buffing people with lev, and the raid mechanic doesn't allow it. Hope it helps yall.