View Single Post
  #13  
Old 05-03-2009, 08:32 PM
drakelord
Hill Giant
 
Join Date: Nov 2002
Location: NC, USA
Posts: 182
Default

Quote:
Originally Posted by neiv2 View Post
I experimented a bit with this, and it appears that the functions in the event work only up to the quest::we() function. Then functionality stops. E.g., in the following, the "say" function works (the "we" function does not):

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::say("Hi there");
quest::we(15, "Testing!");
}
}

But in the following example, neither one works (i.e., the "we" function prevents the rest of it from working):

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::we(15, "Testing!");
quest::say("Hi there");
}
}
Just tested these on my server and they worked fine, :/
__________________
Hmm.
Reply With Quote