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 |
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"))) |
All times are GMT -4. The time now is 05:26 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.