sub EVENT_SAY {
my $journey = quest::saylink("journey", 0, "journey");
if($text=~/hail/i){
$client->Message(10, "Grizzly Adams says, 'Hello there $name. I am the recruiter of all the new soldiers in the Qeynos Militia. Would you like to begin your $journey?'");
}
elsif($text=~/journey/i){
{
quest::summonitem(107

;
quest::setglobal("NoteToSun",1,5,"F");
$client->Message(10, "Grizzly Adams says, 'Welcome to the Militia, $name. You will report to Tzu with this note, and he will take it from there. Good luck.'"); }
}
elsif($text=~/journey/i && !defined $qglobals{NoteToSun}); {
$client->Message(10, "Grizzly Adams says, 'I have already recruited you'"); }
}
}
------------------
What is wrong with the qglobal? I just can't seem to get it to work!
Can anyone explain it further?