I want my bot to drop certain items on the ground, altough not anywhere.. at the moment the bot drops anywhere and not anywhere close the wp
Also im wondering, i want my bot to go into my house - open a container and then refill characters spear to a maximum amount given.
if not islocation(3)
dropitems(11457, 5877, 5920, 3416, 3061, 7430, 3028, 3071, 285, 284, 283)
I've been trying different methods and searching for hours but nothing works good.
This is where i gave up:
(If amount on character is 3 i want it to withdraw 22 so that the character will have total 25 spears, now it just withdraws 25 every time)
useitem(Spearname, 32108, 32194, 7) -- must change ID and Position.
while itemcount(Spearname, weapon) < 5 do
moveitems(Spearname, 'Large trunk', 'weapon', 25)
Thank you for any help!