Awesome, thanks guys... will try it out after I get home from work.
Next question is can I lock this inside an item turn in? I only want the PC to be able to trigger this after they turn in an item.
Code:
sub EVENT_ITEM
{
if ((itemcount, 99999 = 1))
{
quest:say("Very well, tell me the item you desire")
sub EVENT_SAY {
if($text=~/.*/i) {
quest::summonitem($text);
}
}
Would this lock away the EVEN_SAY behind the EVENT_ITEM, or is this wrong all together on having both sub events in there?