Drop all items hotkey/function

I want to be able to drop all items in inventory and stash with a hotkey if its possible or as a function that i can use. I know you have to build an array of items somehow and then drop those… I"m not a programmer man… anything that can help would be nice… i tried copying and pasting some functions from automule but cant get them to work… basicly trying to do a while loop right now with an if statement inside of that to trigger the drop all items and i have constant pickit in town and he picks anything up on the ground… gonna use for mass torch farming with keys that i buy or have on mules.

1 Like

maybe you can find some examples in Manual.js by Laz
https://github.com/blizzhackers/documentation/blob/master/kolbot/custom-scripts/Manual.js#L732-L878

1 Like

Hi @Bobbyjose,
Thanks @mf22 . That reference is something that I can use, too.

Bobbyjose,
I also found this in the forum of the same GitHub page:

Please, also explore kumquat601’s code found within the above link. It is short and drops everything.

I hope this helps for the first stage of what you hope to do.

Thanks for the help guys! I knew there was a simple function for this haha. Kumquat601’s code works perfect. Just what i need.