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);
}
}