Here is the sun rise/set script.

code:
 // Starting of sunset code

function day_pass() {
sun_angle.tilt = 0.2;
while (1) {
sun_angle.tilt += 5 * TIME;
if ( sun_angle.tilt == 90 && sun_angle.pan == 0 ) {
sun_angle.pan = 360; }
else
{ sun_angle.pan = 0; minutes_to_mars += 1; } // Every time this happens add a 1 to the variable minutes_to_mars, you would have to slow this script down a LOT though, right now it is sped up for testing purposes
/*then add this*/ if ( minutes_to_mars >= 10 ) { mars.visible = on; } else { mars.visible = off; }
wait(6);
}
}

// Ending of sunset code

With a few tweaks to that you could easily get the Mars thing going. Read the comments I've added to the code for examples.

I'm sorry, this is probably not a very clean or efficient script but it will probably get the job done till you learn to script, assuming you'll take the time to (it really is worth it 'cause then you can have FUN [yes, I said it is fun] making stuff happen).


Noel R. Cower Portfolio Athlon 64 3000+, 1GB RAM, 400GB HDD, Radeon X800 XT Onboard Realtek 7.1 Audio, WinXP Home SP2, Slackware 10.0