The Dink Network

Reply to Re: Button Global

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 17th 2004, 05:26 PM
anon.gif
Ric
Ghost They/Them
 
That's the whole learning to write .c scripts idea. There is a lot to it.
Like the story variable...
void main ()
{
if (&story == 1)
{
say_stop("the story variable is &story",1);
}
&story += 1;
}
If this script is attached to a sprite, then as soon as the sprite appears it will check to see if the value of &story is currently set at 1. If it is, Dink will say 'the story variable is 1'.
Then the next line will add 1, so &story will then be 2.
There is much to learn, but it can do so much!