Reply to Re: Script that does not work
If you don't have an account, just leave the password field blank.
Simeon's idea is probably the best way to go about it.
But the reason your script doesn't work is because of the way Dink works. First of all, a wait(1); loop will generally make the game run a bit... jumpy. Usually do wait(50); or wait(100); loops.
Anyway, every time a procedure is referenced in a script, you can think of it as interrupting the loop. One second its going through the loop as you told it to in the main procedure, but as soon as you hit it or talk to it, it stops going through the loop and does what you told it to do. So you just need to put goto mainloop; lines in your hit and talk procedures.
But like I said before, Simeon's idea is a lot better.
But the reason your script doesn't work is because of the way Dink works. First of all, a wait(1); loop will generally make the game run a bit... jumpy. Usually do wait(50); or wait(100); loops.
Anyway, every time a procedure is referenced in a script, you can think of it as interrupting the loop. One second its going through the loop as you told it to in the main procedure, but as soon as you hit it or talk to it, it stops going through the loop and does what you told it to do. So you just need to put goto mainloop; lines in your hit and talk procedures.
But like I said before, Simeon's idea is a lot better.