View Single Post
  #3  
Old 04-25-2010, 12:58 PM
Auxie
Fire Beetle
 
Join Date: Mar 2005
Posts: 21
Default

hah you rock and i'll tell you why.

changing it to
Code:
sub EVENT_SAY {

$pvpstatus = $client->GetPVP();

if ($text =~/Hail/i){
	quest::say("Your pvpstatus is $pvpstatus");
    }
}
returns "Your pvp status is ". oh noes!

But don't worry, if you are PKable it WILL return 1. My problem was that I was testing it in a "pvp safe" area I have coded in. Thanks for pointing that out - it's the little things that wind up fixing it.
Reply With Quote