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 08-31-2008, 02:30 PM
Weldarr
Sarnak
 
Join Date: Oct 2005
Posts: 45
Default Need some help with this one

Does anyone know how to set this up correctly? What i want to do is force the player to hail npc X before the timer runs out. I've tried a few basic set ups such as:

if (($text =~/hail/i)&&($timer != "wrong"))
if (($text =~/hail/i)&&($timer <= "wrong"))
if (($text =~/hail/i)&&($timer !eq "wrong"))

And none of them work properly... If someone could help me figure this out, would be appreciated
Reply With Quote
  #2  
Old 08-31-2008, 05:37 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I don't think I have tried doing exactly what you are wanting to do before just yet. But, maybe something like this would work:

Code:
if (($text =~/hail/i)&&(!defined($timer == "wrong")))
If not, I am sure there is another way to do it.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
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 12:00 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3