View Single Post
  #31  
Old 06-17-2013, 03:30 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Code:
sub EVENT_ENTERZONE {
#this is all the contested zones
my @zonelist = qw(
commons
mischiefplane
);

if ( grep { $_ eq $zonesn } @zonelist )  #Save PVP state if you zone into a contested zone
	{
	quest::setglobal("PvPState",$client->GetPVP(),5,"F");  #Adds their PVPstate to global
	$client->SetPVP(1);
	}
}

This will make it so it only flags you when zoning into your contested zones
Reply With Quote