
free for all
By: a guest on
Aug 10th, 2012 | syntax:
None | size: 0.44 KB | hits: 8 | expires: Never
local zone = GetRealZoneText() .. " - " .. tostring(GetSubZoneText());
local pvpType, isFFA, faction = GetZonePVPInfo();
if (pvpType == "friendly" or pvpType == "hostile") then
zone = zone .. " is controlled by " .. faction .. " (" .. pvpType .. ")";
elseif (pvpType == "sanctuary") then
zone = zone .. " is a PvP-free sanctuary.";
elseif (isFFA) then
zone = zone .. " is a free-for-all arena.";
else
zone = zone .. " is a contested zone.";