Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-22-2008, 05:14 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default y is this not working return item

Code:
sub EVENT_ITEM
{
if (plugin::check_handin(\%itemcount, 1389 => 1) && $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");
}
else
{
quest::say ("Hang on to this");
plugin::return_items(\%itemcount);
}
}
it should take an item with id 1389 if you have the quest and give it back and if you don't have the quest give it back say he don't need it and if you already done the quest give it back then if you give him an item he don't need he should give it back.

i have tried it 4 diff ways he takes the item if you have the quest and gives it back if you give him the wrong item he gives it back but if you give him the quest item and you have already don't the quest or are not at this point yet he will not give it back.

with the way it is above he don't even say anything just takes the item if you don't have the quest.

whats up?
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:34 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3