Don't like ads? PRO users don't see any ads ;-)
Guest

free for all

By: a guest on Aug 10th, 2012  |  syntax: None  |  size: 0.44 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. local zone = GetRealZoneText() .. " - " .. tostring(GetSubZoneText());
  2. local pvpType, isFFA, faction = GetZonePVPInfo();
  3. if (pvpType == "friendly" or pvpType == "hostile") then
  4.  zone = zone .. " is controlled by " .. faction .. " (" .. pvpType .. ")";
  5. elseif (pvpType == "sanctuary") then
  6.  zone = zone .. " is a PvP-free sanctuary.";
  7. elseif (isFFA) then
  8.  zone = zone .. " is a free-for-all arena.";
  9. else
  10.  zone = zone .. " is a contested zone.";