EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Need some help with this one (https://www.eqemulator.org/forums/showthread.php?t=26065)

Weldarr 08-31-2008 02:30 PM

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

trevius 08-31-2008 05:37 PM

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.


All times are GMT -4. The time now is 05:26 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.