Trocar de Arma

Descrição

Troque de arma ao precionar a tecla de atalho.

Autor: Luiz

                onKeyPress(function(keys)
if keys == 'R' then
  kunai = now + 500
end
end)

macro(1, function()
kunaiID = findItem(ID DA ARMA)
normal = findItem(ID DA ARMA )
if kunai and kunai >= now then
  if kunaiID then
   moveToSlot(kunaiID, SlotLeft)
  end
elseif normal then
   moveToSlot(normal, SlotLeft)
end
end)