might wanna add fully enclose the quest actions in { }
example:
Code:
sub EVENT_SAY
{
if($text=~/Hail/i){quest::say("Well met $name.");}
}
the whole "meat" under EVENT_SAY is enclosed in { } and quest actions are also enclosed in { }. however if there are multiple quest actions after an if statement you can enclose them all in one pair of { }.
like so:
Code:
sub EVENT_ITEM
{
if($itemcount{xx} == 1){quest::say("Well done! You have retrieved my knife!");
quest::summonitem("xx");}
}
notice how in the above both quest actions are in the same set of { } AND the entire "meat" is enclosed it a set of { }.
PS: great guide tho!
PSS: meat is a funny word eh?