Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2003, 12:49 PM
Shadowrun[EQ]
Sarnak
 
Join Date: Apr 2003
Posts: 36
Default Multiple Item turn in problem

I usually don't like to ask for help, like to figure things out on my own, but this might be over my head due to my lack of knowledge on scripting.

I'm trying to make where you have to turn in 4 items and it will cause the npc to say a brief message and hand you an item. This is what I have, but it's not working.

Quote:

EVENT_ITEM{
if ($item0 == "16178" && $item1 == "16178" && $item2 == "16178" && $item3 == "16178") { say("You have completed the first task. The [second task] will prove to be a little more
difficult.") && summonitem(23452)}
}
All and any help is greatly appreciated. I have a feeling it's something really simple and i'm just missing it. I figure with other's help I'll learn something new and get this figured out. Thanks!
__________________
Hmm DB error. . . ok fixed, hmm can't login. . .ok fixed, hmmm 1017 error. . .ok fixed, hmmmm crashed to desktop. . .ok fixed, hmmmmm UI Error. . .ok fixed, HardDrive Failure all Data is Lost. . .GAWD F$#$ DAMMIT PEACE OF S@#$ FU#@$#ING LIFE OF MINE#@$#@$!!!!
Reply With Quote
  #2  
Old 04-12-2003, 04:31 PM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

Use quotes inside summonitem() ...so it would look like summonitem("23452")
__________________
Xeldan
Lead Content Designer
Shards of Dalaya
Reply With Quote
  #3  
Old 04-12-2003, 08:51 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

There should not be && before the summon item
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #4  
Old 04-13-2003, 10:32 AM
Shadowrun[EQ]
Sarnak
 
Join Date: Apr 2003
Posts: 36
Default

I put in the quotes and I took off the &&. Still didn't work. I tried the piece with just the turning in of one item, that worked, but when I add in the other three turn ins it doesn't work. Is the code I'm using to turn in 4 of those item's messed up? I don't see anything wrong, maybe you guys notice something I dont?

Once again thanks.
__________________
Hmm DB error. . . ok fixed, hmm can't login. . .ok fixed, hmmm 1017 error. . .ok fixed, hmmmm crashed to desktop. . .ok fixed, hmmmmm UI Error. . .ok fixed, HardDrive Failure all Data is Lost. . .GAWD F$#$ DAMMIT PEACE OF S@#$ FU#@$#ING LIFE OF MINE#@$#@$!!!!
Reply With Quote
  #5  
Old 04-13-2003, 11:05 AM
Shadowrun[EQ]
Sarnak
 
Join Date: Apr 2003
Posts: 36
Default

OH YEAH!!! I figured it out!

Quote:
EVENT_ITEM{
if ($item0 == "16178") && ($item1 == "16178") && ($item2 == "16178") && ($item3 == "16178")

{ say("You have completed the first task. The [second task] will prove to be a little more
difficult.") && summonitem(3909)}
}
That's what actually worked. What do ya think? I'm going to try it without the && and putting quotes in the () to see if that works too.

Like I said before thanks for your help. Hopefully as I learn more of this I can be of help.
__________________
Hmm DB error. . . ok fixed, hmm can't login. . .ok fixed, hmmm 1017 error. . .ok fixed, hmmmm crashed to desktop. . .ok fixed, hmmmmm UI Error. . .ok fixed, HardDrive Failure all Data is Lost. . .GAWD F$#$ DAMMIT PEACE OF S@#$ FU#@$#ING LIFE OF MINE#@$#@$!!!!
Reply With Quote
Reply


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 06:53 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