Untitled

 avatar
unknown
plain_text
2 years ago
422 B
5
Indexable
local exhaust = 250
anyName = macro(300, "Reward chest test", function(m)
  local time = 0
  local rewardBagId = 19202

  for i, container in pairs(getContainers()) do
    for j, item in pairs(container:getItems()) do
      if item:getId() == rewardBagId then
        schedule(time,function() 
          g_game.open(item)
        end)
        time = time + exhaust
      end
    end
  end
  m:setOff()
end)
Editor is loading...
Leave a Comment