You should be able to use $entity_list->GetClientByName($go) rather than looping like that, or at least use 'last' to break out of the loop once you find a player name that matches.
Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.