The Dink Network

Reply to Re: Timer

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:
 
 
September 26th 2008, 10:12 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Please post a question on a specific file in the file discussion for that file in the future. And about your problem:

First define a new global variable by adding this line in main.c:

make_global_int("&varry", 0);
(I'm using the variable name &varry for this example...)

Next, do this in timer.c (Sparrow's file):

Replace this line:
//if (&your_var == whatever) goto done;
with:
if (&varry == 1)
{
goto done;
}

Finally, in the script you posted add the line:
&varry = 1;