i`ve been trying to automatically determine a new Tank name from the list of group members, basically it checks to see if the orignal tank left the group, if so it will than check for a warrior type class from the remaining group members and use it as the assist.
he`s the code i have so far..not sure what else to try.
------------------------------------------
Sub Event_tankcheck
/if (${Spawn[@Param0].ID}==0){
/echo "Tank Gone. shoot."
/declare i local
/for i 1 to ${Group}
/if (${String["Warrior Ranger Shadow knight Paladin berserker monk"].Find[${Group[@i].Class}]}) {
/varset tankID ${Spawn[${Group[@i].Class}].ID}
}
/next i
}
/return
-------------------------------------
Anyone have an ideas about how to do this correctly.
