View Single Post
  #4  
Old 09-09-2009, 01:19 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

if by function you mean the subs- then no.
if you need to make more than 1 item hand in check you simple put them in one after another, like this:



Code:
sub EVENT_ITEM 
{


	if(plugin::check_handin(\%itemcount, 1001 => 1))
	{
	quest::say("You gave me item 1001!");
	quest::summonitem("1002");  
	}

	if(plugin::check_handin(\%itemcount, 1002 => 1))
	{
	quest::say("You gave me item 1002!");
	quest::summonitem("1001");  
	}


	else 
	{
	plugin::return_items(\%itemcount);	
	}

}
Reply With Quote