The Dink Network

Whats Wrong With This Script?

July 21st 2003, 06:44 AM
stonegiant.gif
i need help my script stops after the first line.

void talk(void)
say_stop("`6Dink Im Death,Your World Is Gone", &current_sprite);
wait(200)
say_stop("No!Take Me!!",1);
wait(200)
say_stop("`6Hmmm If I Take You...", &current_sprite);
wait(200)
say_stop("`6The World Will End Soon Anyway", &current_sprite);
choice_start()
"Take Me!"
"You Die We All Win"
choice_end()

if (&result == 1)
{
say_stop("Take Me!!",1);
wait(200)
say_stop("`6What!! Noooooooo!", &current_sprite);
wait(200)
say_stop("`6Your A Free Soul!", &current_sprite);
wait(200)
say_stop("`6I Cant Take Someone Who Will Die....", &current_sprite);
wait(200)
say_stop("`6...For Other People", &current_sprite);
fade_down();
fill_screen(0);
&player_map = 603;
sp_x(1, 177);
sp_y(1, 180);
script_attach(1000);
load_screen();
draw_screen();
draw_status();
fade_up();
unfreeze(1);
}

if (&result == 2)
{
say_stop("Die You Fool!!",1);
wait(200)
say_stop("`6Perfect! You Fool", &current_sprite);
wait(200)
say_stop("`6You Cant Fight Me", &current_sprite);
wait(200)
say_stop("`6GoodBye World!!", &current_sprite);
wait(200)
say_stop("`9The End-You Lose", &current_sprite);
kill_game();
}

void hit(void)
say_stop("`9The End-You Lose", &current_sprite);
kill_game();
July 21st 2003, 06:49 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
Dah, you need brackets:

void talk(void)
{
//code
}

void hit(void)
{
//code
}
July 21st 2003, 07:12 AM
stonegiant.gif
i fixed it