; John Galinato ; May 2002 ; This cricket is dedicated to ; controlling the nutheads. ; Each time a 5 or 10 is received, ; the nutheads will take turns dancing. ; All nutheads will dance ; for 10 seconds when a 20 ; is received (time is set) to clock-nutheads autostart-on loop [ if (ir = 5) [a, onfor 50] if (ir = 10) [b, onfor 50] if (ir = 20) [ab, onfor 100] ] end stop |