Maybe its not a full help about script..
I just want to someone better than me to help me find the solution.
i got action wpt and this write in it
i know can use rezisewindow instead of windows. but the problem seems to looks like problem with while ... My point is to pickupitems as many as possible (untill cap) then go to next wpt. but the bot stuck at pickupitems and dont react on while conditions... just stay and got tibia error that i`m full (not more items)...
local Dropcap = 180
if windowcount(MainBP) == 0 then
while cap > Dropcap do
i found the problem but still cannot found the solution. Just cap variable do not refresh in while and gives everytime same amount like at first time (even if he pickups 100 items and his cap jumps from 4k to 100..)