Why not avoid perl altogether and do it on Client::CompleteConnect? Force PVP off if not in a specific zone.
You can use SetPVP in there and that'd work just fine. No perl needed and it's more flexible besides recompiling. There's always the rule system if you need it too.
|