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
  #11  
Old 11-11-2004, 01:41 PM
Kroeg's Avatar
Kroeg
Hill Giant
 
Join Date: Oct 2003
Posts: 241
Default

54087.pl = I'd guess, multiple quotes " will screw with it.

54070.pl = you have to use { } like said before. An example would be: if($itemcount{13198} == 4){

You are also adding quotes to the last line comment for some reason it seems => line 69, near "#(END of FILE Zone:gfaydark ID:54 blah blah... should only be # without quotes.

54092.pl = The same thing, your itemcount is off and there are quotes near or in the #(END of FILE... comment. This should be at the end of the file, starting with # only.

Quotation marks are rarely used... mainly only for quest::say("") purposes. You don't need to use quotes around everything, not even in itemcount or if $item[no] lines.

Here is an example of a quest of mine (which works) that uses itemcount:


###################################
#Zone: Ak`Anon #
#Short Name: akanon #
#Zone ID: 55 #
###################################
#NPC Name: Sanfyrd_Featherhead #
#NPC ID: 55090 #
#Quest Status: Incomplete #
###################################
sub EVENT_SAY {
if($text=~/Hail/i){
quest::say("Greetings! I am the operator of this scrapyard. If you have any scrap metal. I would be glad to purchase it from you in loads of four. The Gemchoppers no longer allow me to accept blackbox fragments and micro servos."); }
}

sub EVENT_ITEM {
if($itemcount{13198} == 4){
quest::say("Excellent work. You were born to be a warrior. Here is a little bonus for the good job.");
quest::faction(115,3);
quest::faction(176,3);
quest::faction(210,3);
quest::faction(71,-3);
quest::faction(39,-3);
quest::exp(65);
quest::givecash(0,0,7,0); }
}

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:31 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