Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
1.4K
Evolunia Autoloot clear/add #2
524b | 25 lines.
local lists = {
  ["Rerolls"] = {
    "speed reroll token",
    "regeneration reroll token",
    "damage reroll token",
    "max health and mana reroll token"
  },
  ["Golden"] = {
    "Golden Armor",
    "Golden Legs",
  },
}

UI.Separator()
UI.Label("Auto Loot List:")
for n, items in pairs(lists) do
  UI.Button(n, function()
    local delay = 100
    say("!autoloot clear")
    for _, item in pairs(items) do
      delay = delay + 100
      schedule(delay, function() say('!autoloot add, '..item) end)
    end
  end)
end

01 Jan 2020
Ads