#N canvas 246 139 700 414 10; #X obj 167 45 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 167 122 random 3; #X floatatom 167 158 5 0 0 0 - - -; #X text 258 39 Should output a unique number every time the bang is triggered; #X text 191 43 <--------; #X obj 442 328 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 459 328 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 476 328 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 442 299 sel 0 1 2; #X obj 442 228 change; #X obj 152 280 ==; #X obj 167 211 t f f f; #X obj 99 324 sel 1; #X text 492 228 only let it through if \; it has changed.; #X text 184 278 it is the same.. true..1; #X text 184 288 it is not the same.. 0; #X text 143 324 if true \, bang again.; #X text 224 189 push the value through to [change] \; is it the same as the last \; and store this value for next test; #X text 248 177 [[ message order]]; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 11 0; #X connect 8 0 5 0; #X connect 8 1 6 0; #X connect 8 2 7 0; #X connect 9 0 8 0; #X connect 10 0 12 0; #X connect 11 0 10 1; #X connect 11 1 10 0; #X connect 11 2 9 0; #X connect 12 0 0 0;