If it's like your sample above, you have Multiple Sub EVENT_ITEM's. You should only have one
Code:
sub EVENT_ITEM
{
#Cleric
if($gold==2){
quest::say("Thank you, this Cleric is among my finest and, will serve you well.");
quest::givepet(npcid);
}
#Warrior
elsif($gold==4){
quest::say("Thank you, this Warrior is among my finest and, will serve you well.");
quest::givepet(npcid);
}
#Wizard
elsif($gold==6){
quest::say("Thank you, this Wizard is among my finest and, will serve you well.");
quest::givepet(npcid);
}
}
#end of quest