rand(minnum = cellmin,maxnum = cellmax) return random(maxnum - minnum + 1) + minnum;
#define rand(%1,%2) (random(%2 - %1 + 1) + %1)