Luminol
12-16-2014, 10:00 PM
I need to know how I can put that in xenobot.
I have no idea how to create it in .LUA
local ITEMS = {906, 7397}
local POS = Self.Position()
local BACKPACK = "backpack"
Module.New("PICK ITEMS", function()
for x = -7, 7 do
for y = -5, 5 do
if table.contains(ITEMS, Map.GetTopMoveItem(POS.x + x, POS.y + y, POS.z).id) then
Map.PickupItem(POS.x + x, POS.y + y, POS.z, Container.New(BACKPACK):Index(), Container.New(BACKPACK):ItemCapacity() - 1)
end
end
end
end)
I need this script for download it anyone can help me?
I have no idea how to create it in .LUA
local ITEMS = {906, 7397}
local POS = Self.Position()
local BACKPACK = "backpack"
Module.New("PICK ITEMS", function()
for x = -7, 7 do
for y = -5, 5 do
if table.contains(ITEMS, Map.GetTopMoveItem(POS.x + x, POS.y + y, POS.z).id) then
Map.PickupItem(POS.x + x, POS.y + y, POS.z, Container.New(BACKPACK):Index(), Container.New(BACKPACK):ItemCapacity() - 1)
end
end
end
end)
I need this script for download it anyone can help me?