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 12-10-2006, 08:42 AM
Dymerius
Sarnak
 
Join Date: Oct 2004
Posts: 74
Default Quest Globals broken

Since I began using the latest build I've been having a problem with quest globals.

Here is a quick example:

Code:
sub EVENT_SAY{

if($text=~/hail/i && $aflag == ""){
quest::setglobal("aflag", 1, 5, "F");
quest::say("Now Flagged.");}

if($text=~/hail/i && $aflag == 1){
quest::say("You are already flagged.");}

}
In this case, "aflag" will be put into the quest_globals table like it should, but the second If will never execute - the first If executes every time.

Again, these are quest globals that all work with previous builds.

Does anyone know what might be causing this?

Thanks in advance,
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 11:12 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