Reply to Re: An issue with only Diag.
If you don't have an account, just leave the password field blank.
Stupid emiticons, Let's see...
void main( void )
{
script_attach(1000);
int &dx;
int &dy;
int &ldx;
int &ldy;
loop:
&dx = sp_x 1, -1);
&dy = sp_y(1, -1);
if (&dx == &ldx)
&dy = &ldy;
if (&dy == &ldy)
&dx = &ldx;
sp_>
1, &dx);
sp_y(1, &dy);
wait(1);
&ldx = &dx;
&ldy = &dy;
goto loop;
}
If that still doesn't work, I'm sure you can figure out what it's supposed to say since the next line has sp_y.
void main( void )
{
script_attach(1000);
int &dx;
int &dy;
int &ldx;
int &ldy;
loop:
&dx = sp_x 1, -1);
&dy = sp_y(1, -1);
if (&dx == &ldx)
&dy = &ldy;
if (&dy == &ldy)
&dx = &ldx;
sp_>
sp_y(1, &dy);
wait(1);
&ldx = &dx;
&ldy = &dy;
goto loop;
}
If that still doesn't work, I'm sure you can figure out what it's supposed to say since the next line has sp_y.






