The Dink Network

Reply to Re: Script that does not work

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 29th 2003, 02:00 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
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.