Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API 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