In response to Tai-Chi Urameshi
Uh, that is a boolean var. And it would never add up to anything past 1, unless there was an outside command to do so.
In response to Popisfizzy
Boolean variables can only be true (1) or false (0) from what I have read. By using ++ it adds one, therefore if multiple shop input windows are opened, the variable has one added multiple times, and then each time a window is closed, has one subtracted from it.
In response to Tai-Chi Urameshi
Ah, I see. I misread the way the code in your original post works.
Page: 1 2