Join The Fan Lab, a private Fandom research community for users in the US and UK where you will be asked to share your opinions on all things gaming and entertainment! Click here to see if you qualify

TogglePVP

From Wowpedia
Jump to: navigation, search

Toggles PvP setting on or off.

TogglePVP();

Parameters

Arguments

none

Returns

nil

Example

This asks whether the variable msg is equal to true, then toggles PvP.
if (msg == true) then
  TogglePVP();
end