PDA

View Full Version : SCRIPTS...help plz



XyZspineZyX
10-05-2003, 02:47 PM
I have a few scripts for my server, but am unable to get one to run right, below is one im am using now. (this is stcock umodified one)

@timeout 1740000 chat <=Server=> It's getting dark again in one minute! ALL
@timeout 1790000 chat <=Server=> Nightfall in 10 seconds! ALL
@timeout 1795000 chat <=Server=> 5... ALL
@timeout 1796000 chat <=Server=> 4... ALL
@timeout 1797000 chat <=Server=> 3... ALL
@timeout 1798000 chat <=Server=> 2... ALL
@timeout 1799000 chat <=Server=> 1... ALL
@timeout 1800000 tod 23.00
@timeout 3540000 chat <=Server=> Changing mission in one minute! ALL
@timeout 3590000 chat <=Server=> Changing mission in 10 seconds! ALL
@timeout 3595000 chat <=Server=> 5... ALL
@timeout 3596000 chat <=Server=> 4... ALL
@timeout 3597000 chat <=Server=> 3... ALL
@timeout 3598000 chat <=Server=> 2... ALL
@timeout 3599000 chat <=Server=> 1... ALL
@timeout 3600000 mission LOADnet/dogfight/Missionsordner/Mission2.mis
@timeout 3620000 mission BEGIN
@timeout 7140000 chat <=Server=> Changing mission in one minute! ALL
@timeout 7190000 chat <=Server=> Changing mission in 10 seconds! ALL
@timeout 7195000 chat <=Server=> 5... ALL
@timeout 7196000 chat <=Server=> 4... ALL
@timeout 7197000 chat <=Server=> 3... ALL
@timeout 7198000 chat <=Server=> 2... ALL
@timeout 7199000 chat <=Server=> 1... ALL
@timeout 7200000 mission LOADnet/dogfight/Missionsordner/Mission1.mis
@timeout 7220000 mission BEGIN
@timeout 7240000 f missionscycle.il2script


this script is suppose to change maps every half hour , but it cycles once and then stops, how does 7240000 translate to real time? does anyone know of a "script making" tut?
anyhelp would be apreciated.
S!

JG6 Oddball (Geschwaderkommodoren)
http://jg6.net

XyZspineZyX
10-05-2003, 02:47 PM
I have a few scripts for my server, but am unable to get one to run right, below is one im am using now. (this is stcock umodified one)

@timeout 1740000 chat <=Server=> It's getting dark again in one minute! ALL
@timeout 1790000 chat <=Server=> Nightfall in 10 seconds! ALL
@timeout 1795000 chat <=Server=> 5... ALL
@timeout 1796000 chat <=Server=> 4... ALL
@timeout 1797000 chat <=Server=> 3... ALL
@timeout 1798000 chat <=Server=> 2... ALL
@timeout 1799000 chat <=Server=> 1... ALL
@timeout 1800000 tod 23.00
@timeout 3540000 chat <=Server=> Changing mission in one minute! ALL
@timeout 3590000 chat <=Server=> Changing mission in 10 seconds! ALL
@timeout 3595000 chat <=Server=> 5... ALL
@timeout 3596000 chat <=Server=> 4... ALL
@timeout 3597000 chat <=Server=> 3... ALL
@timeout 3598000 chat <=Server=> 2... ALL
@timeout 3599000 chat <=Server=> 1... ALL
@timeout 3600000 mission LOADnet/dogfight/Missionsordner/Mission2.mis
@timeout 3620000 mission BEGIN
@timeout 7140000 chat <=Server=> Changing mission in one minute! ALL
@timeout 7190000 chat <=Server=> Changing mission in 10 seconds! ALL
@timeout 7195000 chat <=Server=> 5... ALL
@timeout 7196000 chat <=Server=> 4... ALL
@timeout 7197000 chat <=Server=> 3... ALL
@timeout 7198000 chat <=Server=> 2... ALL
@timeout 7199000 chat <=Server=> 1... ALL
@timeout 7200000 mission LOADnet/dogfight/Missionsordner/Mission1.mis
@timeout 7220000 mission BEGIN
@timeout 7240000 f missionscycle.il2script


this script is suppose to change maps every half hour , but it cycles once and then stops, how does 7240000 translate to real time? does anyone know of a "script making" tut?
anyhelp would be apreciated.
S!

JG6 Oddball (Geschwaderkommodoren)
http://jg6.net

XyZspineZyX
10-05-2003, 04:55 PM
bump /i/smilies/16x16_smiley-happy.gif

JG6 Oddball (Geschwaderkommodoren)
http://jg6.net

XyZspineZyX
10-05-2003, 06:03 PM
Is there a " " (space) missing between LOAD and the actual mission. Maybe thats a problem ?

BTW, you can write the " BEGIN" right after the mission-name:
LOAD net/dogfight/Missionsordner/mission2.mis BEGIN

Good luck !