Thread: Quest help
View Single Post
  #11  
Old 08-25-2006, 05:05 AM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default

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
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com
Reply With Quote