im not using any locals just quest
here is a sample script all the scripts look like this for this quest line but the zone name is diff for each
this one for example will unlock chardok then in chardok is the same script bu ikkinz is the one unlocked.. but for example the one before this that should unlock tipt keeps running this one but this on is in tipt no podisease where this one runs from.
Code:
sub EVENT_SAY
{
if ($text =~/Hail/i)
{
if (defined($qglobals{chardok})) {
quest::say("Thank you for freeing me, You already have the flag $name.");
}
else
{
quest::say("Thank you for releasing me. As a reward I will give you access to a place with riches beond your dreams.");
$client->Message(15, "You have received a character flag");
quest::setglobal("chardok", 1, 5, "F");
quest::settimer("bye", 60);
}
}
}
sub EVENT_TIMER
{
if($timer eq "bye")
{
quest::stoptimer("bye");
quest::depop();
}
}