Virus11
06-06-2004, 04:47 PM
#Quest by Virus, http://www.eqclassic.com/
sub EVENT_SAY
{
if ($text=~/Hail, Elementalist/i){ quest::say("Are you ready to earn your elementalist badge? Would you like to know your [task] ?");
}
if ($text=~/task/i) { quest::say("Your task is to fight me, once you beat me, you must take one of the cards out of my pocket and hand it to me once I am reborn. Do you accept this challange?");
}
if ($text=~/no/i) { quest::say("What?? Well too bad, because here it comes!");
quest::attack($userid);
}
if ($text=~/yes/i) { quest::say("Get ready to fight!");
quest::attack($userid);
}
sub EVENT_ITEM
{
if($item1==200){quest::say("");
quest::summonitem(201);
}
}
If you can, I would like to know any errors I have made or just what you think.
sub EVENT_SAY
{
if ($text=~/Hail, Elementalist/i){ quest::say("Are you ready to earn your elementalist badge? Would you like to know your [task] ?");
}
if ($text=~/task/i) { quest::say("Your task is to fight me, once you beat me, you must take one of the cards out of my pocket and hand it to me once I am reborn. Do you accept this challange?");
}
if ($text=~/no/i) { quest::say("What?? Well too bad, because here it comes!");
quest::attack($userid);
}
if ($text=~/yes/i) { quest::say("Get ready to fight!");
quest::attack($userid);
}
sub EVENT_ITEM
{
if($item1==200){quest::say("");
quest::summonitem(201);
}
}
If you can, I would like to know any errors I have made or just what you think.