Yea i got such thing in my own dawnport script as well its like this
lua code:
local longsword = false
Checker = Module.New('longsword checker', function(mod)
if (Self.ItemCount(3285) >0 and longsword ==false) then
Cavebot.Stop()
print("Holy cow!! It is the longsword!!")
Self.Equip(3285, "weapon", 1)
wait(1500)
Self.DropItems(Self.Position().x, Self.Position().y, Self.Position().z, 3273)
wait(1500)
longsword = true
Cavebot.Start()
Checker:Stop()
mod:Delay(20000)
end
mod:Delay(19000)
end
)
Module.New('sword dropper', function(module)
if (Self.ItemCount(3285) > 1) then
delayWalker(1000)
print("Dropping longsword.")
Self.DropItem(Self.Position().x, Self.Position().y, Self.Position().z, 3285, 1)
else
end
module:Delay(2000,10000)
end)