Quote:
Originally Posted by Deimos
if(($text=~/hail/i) && ($class == /rogue) && ($ulevel > 64)){
quest::say("The Plane of Time is a dangerous place.
In this plane is the Father of Time himself. We all
call him Father Time. He has a weapon I would really
love to get my hands on and if you are up to it you
could maybe get this [object] I am in need of.");
else if(($text=~/hail/i) && ($class == /rogue) && ($ulevel < 65))
quest::emote("stares at you knowing that you can
server a purpose for her but that you are not yet
powerful enough to do it.");
else
quest::say("I will only speak with those who have chosen
the same path as me. Begone!");
}
|
Its probably becaise you are missing a few {}s here. The elsif and else are insdie the if so the elses have no if to match with which causes problems. Put { after each if or else and } at the end of the code for every one also. And next time you should say what happens when you try it, like what zone.exe says because that'll tell you what is wrong in most cases.