@@Boothand: It seems to me like a lot of your "ELSE" blocks are not within the original "ELSE". Take a look at MoonDog's example:
if ( $get( FLOAT, "block1_note")$, $=$, $0$ )
{
sound ( /*@CHANNELS*/ CHAN_AUTO, "null" );
}
else ( )
{
if ( $get( FLOAT, "block1_note")$, $=$, $1$ )
{
sound ( /*@CHANNELS*/ CHAN_AUTO, "my_fruity_sound1.mp3" );
}
else ( )
{
if ( $get( FLOAT, "block1_note")$, $=$, $2$ )
{
sound ( /*@CHANNELS*/ CHAN_AUTO, "my_fruity_sound2.mp3" );
}
else ( )
{
if ( $get( FLOAT, "block1_note")$, $=$, $3$ )
{
sound ( /*@CHANNELS*/ CHAN_AUTO, "my_fruity_sound3.mp3" );
}
else ( )
{
if ( $get( FLOAT, "block1_note")$, $=$, $4$ )
{
sound ( /*@CHANNELS*/ CHAN_AUTO, "my_fruity_sound4.mp3" );
}
}
}
}
}
See how the first IF is followed by the ELSE? The next if and else blocks should be in that ELSE. For example. IF Else>(IF ELSE>(IF ELSE>)) Make sense? Another example: IF (something1) actions ELSE IF (something2) actions ELSE IF (something3) actions ELSE etc