Anti Push HotkeyDescription:
Throw specified count of items under Your character.
As far i know there's many people who fight in wars etc. so i've made this simple hotkey for You..
Configuration:
Edit trash variable to items you want to drop.
Edit trashCount variable to set how many items drop per once.
Edit trashBp variable to set in which backpack are specified items.
Edit clickWait and pressWait variables to set mouse and keyboard delay.
Note: windbot is great tool to do fast and safe things but You shouldn't walk while hotkey is enabled !
Copy code below and paste in Scripter -> Hotkeys, set the key for enable / disable.
init start
-- Items which you want throw:
local trash = {'gold coin', 'worm'}
-- Count of trash to throw:
local trashCount = 2
-- Backpack with trash:
local trashBp = ('Backpack of Holding')
-- Waiting time: (mouse and keyboard settings)
local clickWait = {10, 30} -- it means X to X ms
local pressWait = {10, 30} -- it means X to X ms
-- Don't touch below!
setsetting('Settings/MouseMoveSpeed', 'Instantaneous')
setsetting('Settings/ScrollMode', 'Click on scrollbar')
setsetting('Settings/ClickWaitTime', tostring(clickWait))
setsetting('Settings/PressWaitTime', tostring(pressWait))
table.id(trash)
init end
auto(10)
for i,j in ipairs(trash) do
if itemcount(unpack(trash), trashBp) > 1 then
Self.MoveItems(j, 'ground', trashBp, trashCount) waitping(1, 1.5)
end
end