quest::flagcheck
quest::flagcheck
Explaination: Checks the value of a flag, usually used for quests.
Full Command: quest::flagcheck(flag,value)
Flag = The number of the flag that you are checking.
Value = The value you are looking for when checking the flag.
Example:
# After hailing the NPC will check if flag 1 is set to 0..
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::flagcheck(1,0);
}
}
|