The Dink Network

Reply to need help with my script

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:
 
 
May 26th 2005, 09:34 AM
burntree.gif
EEs
Peasant They/Them
 
Im tring to do a script. Its my first ever! 'cause its my first one I dont know whats wrong? Here it is:
// the tree

void hit( void )
{
&tree = 1;
say_stop("`4Ouch!", current_sprite);

}
void talk ( void )
{
if (&tree == 1)
{
freeze(1);
playmidi("1.mid");
say_stop("That is a nice tree.", 1);
wait(500);
say_stop("`4Thank you, human.", &current_sprite);
&tree = 2;
unfreeze(1);
}
}
void talk(void)
{
if (&tree == 2)
{
freeze(1);
say_stop("Yepp, this is a nice tree.", 1);
wait(500);
say_stop("`4I already know that.", &current_sprite);
&tree = 3;
unfreeze(1);
}
}
void talk(void)
{
if (&tree == 3)
{
freeze(1);
say("This is a very very very VERY nice tree.", 1);
wait(500);
say("`4Whats wrong with you?.", &current_sprite);
&tree = 4;
unfreeze(1);
}
}
void talk(void)
{
if (&tree == 4)
{
freeze(1);
say_stop("Nothing at all.", 1);
wait(500);
say_stop("`4Go and burn yourself.", &current_sprite);
&tree = 5;
unfreeze(1);
}
}
}
void talk(void)
{
if (&tree == 4)
{
say_stop("...", 1);
}