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
  #3  
Old 07-11-2006, 08:12 PM
x-scythe
Discordant
 
Join Date: Jun 2003
Posts: 449
Default

havent done anything perl or quest related for a while, but wouldnt it be written like this?

Code:
sub EVENT_ITEM
{
if(($itemcount{12268} == 1) && ($itemcount{7100} == 1)  &&amp ($gold == 3250))
  {
  quest::say("The time to trade has come!! I am now rich and you are now fast. Take the Journeyman Boots and run like the wind.");
  quest::exp(1250);
  quest::summonitem(2300);
  }
if(($itemcount{12268} != 1) || ($itemcount{7100} != 1) ||  {$gold != 3250}))
  {
    quest::say("Trade we shall not!!  When I hold in my hands the ring of the ancients. a shadowed rapier and 3250 gold coin. then you shall wear the journeyman boots.");
   }
}
theres prolly some errors in this...some of the syntax seems to have changed since i was last here and its been like 3 years since ive done anything with perl heh...
im pretty sure you do need to correct the bottom part of the quest, the "yes trade" and "no trade" need to be in two different statements like ive done above. Error free of course =P


edit::
FNW - sorry if this is a PEQ thing, wasnt sure if it was or not so i just decided to reply here where i knew he would prolly check back. and sorry for the rustiness =P
Reply With Quote
 


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 12:49 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