for your item turn in..
Code:
sub EVENT_ITEM {
#Cleric
if($gold==2 && $class eq "Cleric"){
quest::say("Thank you, this Cleric is among my finest and, will serve you well.");
quest::givepet(npcid);}
#Warrior
elsif($gold==4 && $class eq "Warrior"){
quest::say("Thank you, this Warrior is among my finest and, will serve you well.");
quest::givepet(npcid);}
#Wizard
elsif($gold==6 && $class eq "Wizard"){
quest::say("Thank you, this Wizard is among my finest and, will serve you well.");
quest::givepet(npcid);}
}
would go with this so other classes cant get the wiz/war/cler pet