Sorry it's me again and it looks like I'm still doing something wrong. I put
temper=0; where the finish; was. And moved the finish: to the end of the
complete structure as I have intered below. But now I'm back to a startup
failure when I run the compiler. It says bad or missing parameter splash_start
finish no target label defined then It says script error missing bracket. I
with guess that the finish is not in right place. But not sure as to where
my mistake is? I am trying to teach myself c script but not doing a good job.
I will work with it but if you see my mistake please write back.
Thank you again! Maybe someday I can return favor.
///////////////////////////////////////////////
// startup splash screens
// script written by william mason May 02,07
///////////////////////////////////////////////
bmap splash1 = <splash1.pcx>;
bmap splash2 = <splash2.pcx>;
bmap splash3 = <splash3.pcx>;
bmap splash4 = <splash4.pcx>;

panel splash_1(){bmap = splash1;layer = 25;}
panel splash_2(){bmap = splash2;layer = 25;}
panel splash_3(){bmap = splash3;layer = 25;}
panel splash_4(){bmap = splash4;layer = 25;}

panel* screen_syn = splash_1;

var temper;

starter splash_start
{
freeze_mode = 1;
WHILE (1) {
temper=0;

WHILE (temper < 48) {
screen_syn .visible = on;
temper += time;
IF (key_space == 1) { screen_syn.VISIBLE = OFF; Goto finish; }
wait (1);
}
screen_syn.VISIBLE = OFF;
IF (screen_syn == splash_4) { screen_syn = splash_1; continue; }
IF (screen_syn == splash_3) { screen_syn = splash_4; }
IF (screen_syn == splash_2) { screen_syn = splash_3; }
IF (screen_syn == splash_1) { screen_syn = splash_2; }
wait (1);
}

freeze_mode = 0;

// remove bmaps from memory
bmap_purge(splash1);
bmap_purge(splash2);
bmap_purge(splash3);
bmap_purge(splash4);

}
finish: