i got it
Code:
sub EVENT_ITEM
{
if (plugin::check_handin(\%itemcount, 1389 => 1))
{
if($epic15 == 3)
{
quest::say("Good report to Sergeant Zind and see if he needs any help. Here you hang onto the jewel for safekeeping.");
quest::summonitem("1389");
quest::setglobal("epic15", 4, 5, "F");
}
elsif($epic15 != 3)
{
quest::say ("Hang on to this, till its needed again");
quest::summonitem("1389");
}
}
else
{
quest::say ("Hang on to this");
plugin::return_items(\%itemcount);
}
}