You are on page 1of 2

id = 0

delay = 0

SendPacket(2, "action|input\n|text|/warp IXOEN3")


SendPacket(2, [[action|input
|text|`4Sc by Yasugamj]])
Sleep(1700)

function DropItem(id, count)


SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|"..count)
end

function inv(id)
for _, item in pairs(GetInventory()) do
if (item.id == id) then
return item.amount
end
end
return 0
end

AddHook(function(type, packet)
if packet:find("/daw") then
bgl = inv(7188)
dl = inv(1796)
wl = inv(242)
ray = inv(5480)
lss = inv(13576)
lry = inv(13826)
mry = inv(13862)
dawMode = true
return true
end
return false
end, "OnSendPacket")
SendPacket(2, "action|input\n|text|/daw")
Sleep(100)
SendPacket(2, "action|input\n|text|/daw")

while true do
Sleep(100)
if dawMode then
if bgl > 0 then
DropItem(7188, bgl)
Sleep(100)
end
if dl > 0 then
DropItem(1796, dl)
Sleep(100)
end
if wl > 0 then
DropItem(242, wl)
Sleep(100)
end
if ray > 0 then
DropItem(5480, ray)
Sleep(100)
end
if lss > 0 then
DropItem(13576, lss)
Sleep(100)
end
if lry > 0 then
DropItem(13826, lry)
Sleep(100)
end
if mry > 0 then
DropItem(13862, mry)
Sleep(100)
end
end
dawMode = false
bgl = nil
dl = nil
wl = nil
ray = nil
lss = nil
lry = nil
mry = nil
Sleep(100)
SendPacket(2, "action|input\n|text|/warp IXOEN3")
Sleep(100)
SendPacket(2, "action|input\n|text|/warp IXOEN3")
Sleep(100)
SendPacket(2, "action|input\n|text|/warp IXOEN3")
Sleep(100)
SendPacket(2, "action|input\n|text|/warp IXOEN3")
Sleep(100)

end

You might also like