
06-02-2007, 03:03 AM
|
Discordant
|
|
Join Date: Sep 2006
Location: Subsection 185.D354 C.12
Posts: 346
|
|
Try this, I removed the else parts.
Code:
sub EVENT_SAY
{
if($text=~/Hail/i)
{
quest::say("ARGH always being interrupted! Do you not know that we have a city to save! Move along citizen!");
}
if($text=~/Woljag/i)
{
quest::say("Oh, I see. Sorry for being so rude then. I would let you join this regiment but...");
quest::emote("leans over an whispers...");
quest::say("You look like you have come prepared compared to these men.");
quest::emote("laughs.");
quest::say("So will you be needing some combat [supplies]?");
}
if($text=~/supplies/i)
{
quest::say("Here you go, what was it, $name? It's not much but you will be surprised how helpful it will be. Oh, and I you need [spells] also, let me know.");
quest::exp(1000);
quest::givecash(0,5,7,2);
quest::summonitem(99907);
}
if($text=~/spells/i}
{
quest::say("Evoker Eriona has some beginner's spells that she managed to salvage from North Qeynos. Speak with her about this matter. The blessing of Mithaniel Marr be upon you always!");
quest::selfcast(202);
quest::say("Oh, and give this to the armorer, he'll know what to do.");
quest::summonitem(99908);
}
}
__________________
If at first you don't succeed destroy all evidence that you ever tried.
God doesn't give second chances... Hell, he sets you up the first time.
|