Reply to Re: script trouble
If you don't have an account, just leave the password field blank.
Whoa, bunny man, I think you've completely forgotten DinkC
You're missing parentheses, you can't goto variable names, and some other things. Here's a much more concise version:
void main( void )
{
int &srand;
loop:
&srand = random(2,1);
if (&srand == 1)
{
playsound(12,16000,0,0,0);
}
if (&srand == 2)
{
playsound(50,16000,0,0,0);
}
wait(1000);
goto loop;
}
Change the 16025 numbers to whatever speed the sound is (usually 8000, 16000, or 24000).

void main( void )
{
int &srand;
loop:
&srand = random(2,1);
if (&srand == 1)
{
playsound(12,16000,0,0,0);
}
if (&srand == 2)
{
playsound(50,16000,0,0,0);
}
wait(1000);
goto loop;
}
Change the 16025 numbers to whatever speed the sound is (usually 8000, 16000, or 24000).