Reply to Re: How can I code this situation?
If you don't have an account, just leave the password field blank.
In response to your second question, nothing does in that example. You would need to change &num either there or in another script, but be careful of doing something like this:
if (&num == 0)
{
//do stuff
&num = 1;
}
if (&num == 1)
{
//do other stuff
}
because then both will happen. I often do this
Either use a goto command to skip to the end or put if (&num == 1) before if (&num == 0).
Edit: Sorry, no brains tonight. To change &num you'd need to do this:
&num = 1;
editor_seq(&getnum, &num);
That way &num is saved in editor_seq(), so when you speak to the sprite again (even after leaving the screen) &num will still be 1.
if (&num == 0)
{
//do stuff
&num = 1;
}
if (&num == 1)
{
//do other stuff
}
because then both will happen. I often do this

Either use a goto command to skip to the end or put if (&num == 1) before if (&num == 0).
Edit: Sorry, no brains tonight. To change &num you'd need to do this:
&num = 1;
editor_seq(&getnum, &num);
That way &num is saved in editor_seq(), so when you speak to the sprite again (even after leaving the screen) &num will still be 1.