View Single Post
  #4  
Old 04-23-2008, 10:25 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

To get it to return items, you have to use plugins. I listed a version that should work with the plugins below. Note that I removed the line "quest::set_zone_flag(58 );" only because I haven't actually used flags before. I use quest globals for that kind of stuff. Plus, I didn't see it listed in the wiki quest tutorial here: http://www.eqemulator.net/wiki/wikka...=QuestTutorial


Code:
sub EVENT_ITEM {

if (plugin::check_handin(\%itemcount, 1001=>1))
quest::say("You have done it $name! May you be graced with the strength of Brell Seliris!");
quest::exp(25000);
quest::ding();
$client->Message(15, "You received a character flag!"); }

else {
 	 plugin::return_items(\%itemcount);
	 }
	
}
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote