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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2010, 01:47 PM
EqTitan
Sarnak
 
Join Date: Mar 2010
Location: hi
Posts: 32
Default

Ive found when writing quests that if I copy paste things, no rhyme or reason they just don't work sometimes. But if I sit there and manually type every letter of the script I just copyed, it works. Very odd I know but what are ya gonna do ....
Reply With Quote
  #2  
Old 05-15-2010, 03:17 PM
nilbog
Hill Giant
 
Join Date: Nov 2007
Posts: 198
Default

What text editor are you using to write/modify your scripts, EqTitan?
Reply With Quote
  #3  
Old 05-15-2010, 06:45 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

This;
(plugin::check_handin(\%itemcount, 30516 => 1)
does not always work for me - for whatever reason, it just will not work some times.

This;
($itemcount{30516} >= 1)
Always works for me. So try changing all your "plugin::check_handin's" to this.

I do always include this at the end of the script;
Code:
  else{
    quest::say("Sorry, I can't use this.");
    plugin::return_items(\%itemcount);
  }
So the player doesn't loose anything
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:33 AM.


 

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