> thanks guys, loads of solutions - i'll go with [if] for now, it's
> just that i haven't ever got used to the syntax of it. now's the
> time i guess
Not that difficult, here we have :
if $i1 != $i2 then out2 $i1 else $i1
which means :
if the number wich comes in the first inlet (left one) is not the
same as the number wich arrives from the right inlet, then the object
will send the value of the left inlet to the right outlet (out2),
else (if the 2 numbers are the same) the value of the first inlet
will be sent to the default outlet (leftmost).
i think your [if] works, but i'm probably doing something extremely obvious
wrong with the right to left ordering.
basically i'm trying to make a simulated dice roll, where you roll, then
count up to that number, like you would on a board game, moving the player
over each square on the board - so if i rolled a six, i'd count one, two,
three, four, five, six. my patch then chooses another random number for the
i need to then be able to seperate the count up from the actual number, so i
have 1,2,3,4,5 out one outlet, then the 6 out another.
a bit like this
except something doesn't quite work every time.
if someone could have a quick look i'd be extremely grateful