merb
02-19-2009, 09:19 PM
As you may have noticed, I am not a quest person, so forgive me if this is a simple mistake :P
I've been having trouble getting this quest to work:
sub EVENT_SAY
{
if (($text=~/hail/i)&&($ulevel <=34))
{
quest::say("I am sorry, $name, but you are not yet experienced enough to traverse the dungeons. Come back when you are more experienced and I will have more information.");
}
if (($text=~/hail/i)&&(ulevel >=35))
{
quest::say("Greetings, $name. I am Explorer Ganedin. I have traveled far and wide to many ancient places. Some of the most interested places have been the [dungeons].");
}
if (($text=~/dungeons/i)&&(ulevel >=35))
{
quest::say("There are many dungeons that I can take you to. The more experienced you are, however, the more options you have. I can take you to the following places: [Takish], [Mistmoore], [Guk], [Rujarkian], or if you are feeling up to it, [Miragul's].");
}
}
It appears to be fine and I even looked through the Custom Quests section and did this based off of someone's epic 3.0 quest. I've also tried using "elsif" in place of "if" for the second hail line.
elsif (($text=~/hail/i)&&(ulevel >=35))
{
quest::say("Greetings, $name. I am Explorer Ganedin. I have traveled far and wide to many ancient places. Some of the most interested places have been the [dungeons].");
}
Any help would be appreciated :)
I've been having trouble getting this quest to work:
sub EVENT_SAY
{
if (($text=~/hail/i)&&($ulevel <=34))
{
quest::say("I am sorry, $name, but you are not yet experienced enough to traverse the dungeons. Come back when you are more experienced and I will have more information.");
}
if (($text=~/hail/i)&&(ulevel >=35))
{
quest::say("Greetings, $name. I am Explorer Ganedin. I have traveled far and wide to many ancient places. Some of the most interested places have been the [dungeons].");
}
if (($text=~/dungeons/i)&&(ulevel >=35))
{
quest::say("There are many dungeons that I can take you to. The more experienced you are, however, the more options you have. I can take you to the following places: [Takish], [Mistmoore], [Guk], [Rujarkian], or if you are feeling up to it, [Miragul's].");
}
}
It appears to be fine and I even looked through the Custom Quests section and did this based off of someone's epic 3.0 quest. I've also tried using "elsif" in place of "if" for the second hail line.
elsif (($text=~/hail/i)&&(ulevel >=35))
{
quest::say("Greetings, $name. I am Explorer Ganedin. I have traveled far and wide to many ancient places. Some of the most interested places have been the [dungeons].");
}
Any help would be appreciated :)