The Dink Network

Reply to Re: Loop to delay

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 15th 2007, 06:25 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
The gold countdown is only a graphical thing. At the moment you decrease &gold, the variable is immediately decreased. Say, we start the script with 2500 gold:

//&gold = 2500

&temp = &gold;
//&temp = &gold = 2500
&temp -= 1000;
//&temp = 1500 now
&gold -= 1000;
//&gold = 1500 now
loop:
wait(100);
if(&gold > &temp)
//1500 > 1500 returns false, skip this section.

As you see, there won't be any loop.