Reply to Re: Scripting help needed
If you don't have an account, just leave the password field blank.
That won't work. I would be nearly impossible for the player to use the bomb on that particular x and y co-ordinate.
But what about if you do something like this:
int &x = sp_x(1, -1);
int &y = sp_y(1, -1);
if (&x < 300)
{
end:
say("I shouldn't use this here...", 1);
return;
}
if (&x > 370)
goto end:
if (&y < 200)
goto end:
if (&y > 270)
goto end;
But using the inside_box(); command would be much easier than this, I think
But what about if you do something like this:
int &x = sp_x(1, -1);
int &y = sp_y(1, -1);
if (&x < 300)
{
end:
say("I shouldn't use this here...", 1);
return;
}
if (&x > 370)
goto end:
if (&y < 200)
goto end:
if (&y > 270)
goto end;
But using the inside_box(); command would be much easier than this, I think