blob: 3d5882b146e03e3b6e7e065ac977ea394f0e0145 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#N canvas 0 22 450 300 10;
#X text 35 28 [myifspigot] - choose your own comparison operator;
#X text 36 52 if "receiver" (\$1) is "==/>=/</>/whatever" (\$2) than
\$3 then spigot is on. \$4 sets initial state of spigot.;
#X obj 76 165 myifspigot \$0test > 3;
#X obj 76 88 loadbang;
#X obj 76 114 metro 250;
#X obj 76 214 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 266 169 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X obj 266 209 s \$0test;
#X text 296 275 2008 Luke Iannini;
#X text 229 152 Set higher than 3 to turn on spigot;
#X floatatom 276 189 5 0 0 0 - - -;
#X connect 2 0 5 0;
#X connect 3 0 4 0;
#X connect 4 0 2 0;
#X connect 6 0 7 0;
#X connect 6 0 10 0;
|