Abrir Bag
Abrir bag ao entrar no jogo.
Autor:
                1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local function openFromEmpty()
  containers = getContainers()
  if #containers < 1 and containers[0] == nil then
    bpItem = getBack()
    if bpItem ~= nil then
      g_game.open(bpItem)
    end
  end
end
openFromEmpty()
macro(8000, "Abrir Bag ao Logar", function()
  containers = getContainers()
  if #containers < 1 and containers[0] == nil then
    openFromEmpty()
    return
  end
end)