Is there a way to check to see if all the values in an array are the same in classic?
Or check to see how many have the same value?
Develop games in your browser. Powerful, performant & highly capable.
You can do this through a loop, lets say you use Array X 0 for storing:
- Array X 0 = 0 For I = 1 to Array length - 1 +Array I = [value you want to check] then: Array X 0 = Array X 0 + 1