htw
Developer
zdozbou is correct, you can see it in buy.inc.
You could change it to use the stack size, instead of hardcoded to 20 max if stackable.
Current code:
Suggest trying:
htw
You could change it to use the stack size, instead of hardcoded to 20 max if stackable.
Current code:
Code:
:StackLoop
/if (${Math.Calc[${amount}-${FindItemCount[=${SelectedItem}]}]}<=20) /goto :RegLoop
/buyitem ${If[${SelectedItem.Stackable},20,1]}
/delay 5
/doevents
/goto :StackLoop
Suggest trying:
Code:
:StackLoop
/if (${Math.Calc[${amount}-${FindItemCount[=${SelectedItem}]}]}<=${SelectedItem.StackSize}) /goto :RegLoop
/buyitem ${If[${SelectedItem.Stackable},${SelectedItem.StackSize},1]}
/delay 5
/doevents
/goto :StackLoop
htw