0% found this document useful (0 votes)
50 views1 page

Automatic Dirt Farm Script

The script is designed to join a specified world and drop all items from the player's inventory. It sends a join request to the target world and checks if the inventory is available. If items are present, it iterates through them, sending packets to drop each item and confirm the action with a dialog return command.

Uploaded by

wkuda28
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views1 page

Automatic Dirt Farm Script

The script is designed to join a specified world and drop all items from the player's inventory. It sends a join request to the target world and checks if the inventory is available. If items are present, it iterates through them, sending packets to drop each item and confirm the action with a dialog return command.

Uploaded by

wkuda28
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local targetWorld = "mell5|dd"

SendPacket(3, "action|join_request\nname|" .. targetWorld .. "\ninvitedWorld|0")


Sleep(2500)

local inv = GetInventory()


if inv == nil then
LogToConsole()
return
end

for _, item in pairs(inv) do


if [Link] ~= nil and [Link] ~= nil and [Link] > 0 then
SendPacket(2, "action|drop\n|itemID|" .. [Link])
Sleep(50)
SendPacket(2, "action|dialog_return\ndialog_name|drop_item\nitemID|" ..
[Link] .. "|\ncount|" .. [Link])
Sleep(50)
end
end

You might also like