0% found this document useful (0 votes)
590 views2 pages

Script FAST PTHT CPS V3

The script defines functions to drop items from the inventory and check inventory amounts. It adds a hook to activate item dropping mode when "/daw" is typed. It then enters an infinite loop that repeatedly drops any items in the inventory if in dropping mode, resets variables, and warps the character.

Uploaded by

Amir Rauf
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)
590 views2 pages

Script FAST PTHT CPS V3

The script defines functions to drop items from the inventory and check inventory amounts. It adds a hook to activate item dropping mode when "/daw" is typed. It then enters an infinite loop that repeatedly drops any items in the inventory if in dropping mode, resets variables, and warps the character.

Uploaded by

Amir Rauf
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
You are on page 1/ 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