This macro was created to divide something in the closet and that's the essence of its work. You have a bunch of things like food, drugs, etc. There is a lot of that. There are a maximum of 100 units in the stack, but there are things that are not 100 but 99 and I took this into account. In order for everything to work exactly, you need to put, for example, 100 meat in the 1 uppermost left slot of the cabinet and it will divide them into slots below. In my case, I had 200 meat and 198 salads and the macro is written for them since I cook food often to divide such an amount, you need to leave 2 and 3 lines empty the cabinet is completely empty. Also, in order for everything to work, you need to be at the very top of the cabinet and not somewhere at the bottom, otherwise it will either move or divide something on the line that is in front of you. Ps. why exactly 33 because this is the sum of how much will go into your inventory when you have 10 kg of emptiness. It will really help those who cook stew because it is 33 vegetables and 33 meat that you can take at a time. The macro was written in 1920x1080
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program