Who in zone is not in raid?
Posted: Tue Feb 08, 2005 6:35 am
I hope someone find this one useful
Code: Select all
sub Main
/echo Players in zone who is not in raid:
/declare i int local 0
/declare cnt int local 0
/if (!${Raid.Members}) {
/echo Im not in raid
/return
}
/varset cnt ${SpawnCount[pc range 1 70]}
/echo Players in zone: ${cnt}
/target pc range 1 70
/for i 0 to ${cnt}
/if (!${Raid.Member[${Target.Name}].Spawn.ID} && ${String[${Target.Type}].Equal["PC"]}) {
/echo ${Target.Name} <${Target.Guild}> not in raid
}
/target next
/next i
/return