Proximity and hasitem
I am trying to make something that will basically move someone away if they don't have an item in their inventory and then let them pass by if they do have it.
Code:
sub EVENT_SPAWN{ |
This should work:
Code:
sub EVENT_SPAWN { |
Does elsif really not work? I have it in another quest where it works fine
|
The elsif statement is used to check another condition. The else statement is used when there is no other condition to check.
Example: Code:
if ($faction == 1) |
elsif works but in this case you would want to just use else. elsif is basically an else statement and an if statement combined.
|
All times are GMT -4. The time now is 09:40 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.