Multiple problems. One thing is you have two ITEM subs. Your brackets are also not matched up. And your logic may not accomplish what you are trying to do.
Not sure you are using this right: MakePet(spell_id, pettype, name=NULL)
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.