Code:
# Grizzly
sub EVENT_SAY {
my $journey = quest::saylink("journey", 0, "journey");
if($text=~/hail/i) {
if($qglobals{Grizzly} == 2) {
quest::emote("stares at you with disbelief.");
}
else {
quest::say("Greetings $name, I am the Milita Recruiter. Would you like to begin your $journey?");
}
}
if($text=~/journey/i) {
quest::setglobal("Grizzly",1,2,"F");
quest::summonitem(33969);
quest::say("Welcome to the Militia, $name. You will report to Tzu with this note, and he will take it from there. Good luck.");
}
}
Not sure about the saylink.. I haven't used those before.