Log in

View Full Version : Help with this script



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?

svennn
12-16-2014, 10:05 PM
Here you go. (http://speedy.sh/Z6NaX/DudeThisIsBalls.lua)

Luminol
12-16-2014, 10:07 PM
Here you go. (http://speedy.sh/Z6NaX/DudeThisIsBalls.lua)

I love you dude thanks youre GOD, now i want to know if this correct?
thanks bro

svennn
12-16-2014, 10:08 PM
I love you dude thanks youre GOD, now i want to know if this correct?
thanks bro

If it's correct? You mean if the script works? I don't know, haven't looked at the code.

Luminol
12-16-2014, 10:22 PM
If it's correct? You mean if the script works? I don't know, haven't looked at the code.

It Works, thanks again bro youre awesome, you help people without get angry or mad?

svennn
12-16-2014, 10:27 PM
It Works, thanks again bro youre awesome, you help people without get angry or mad?

Not really, no.

Luminol
12-16-2014, 10:36 PM
Not really, no.

Ok so.. i have a question there is a script able to pick up anything from the floor? I know this is the help section but I want to know if it really exist and how to download it, please don't bother with me

svennn
12-16-2014, 10:58 PM
Ok so.. i have a question there is a script able to pick up anything from the floor? I know this is the help section but I want to know if it really exist and how to download it, please don't bother with me

Yes there is.