Thread: Server commands
View Single Post
  #22  
Old 04-14-2011, 02:03 PM
Thee_oddball Thee_oddball is offline
Approved Member
 
Join Date: Mar 2011
Posts: 812
Default

Quote:
Originally Posted by Blackrat View Post
Nope timeout doesn't work as I hoped, I am assuming it gives a pause between commands in console.cmd

format is

timeout <timeout in ms> <command name> [<params>]

Typing in the dos box

timeout 60.000 missLoad mission.miss

Gives an error Command not found: missload mission.miss after 60 seconds, so the timeout is working with direct entry.

using the following in console.cmd file

missLoad 128Bobv1_3.mis
battle start
timeout 60.000
chat Mission changes in 1 minute ALL
timeout 60.000
battle stop
missLoad 128Bob.mis
battle start


Results in everything executing but no timeouts so it executes one line straight after the other. Frustrating or what, but then I am no IT programmer.
timeout 7200.00 missLoad basic40.mis does ot work as you know but

timeout 7200.00 f server.cmd does work and inside that cmd is a missLoad that does work

I have 2 cmd's that keep loading each other right now ( 2 maps) will make it five later
__________________
Gigabyte Z68
Intel 2500K (@4.3 ghz)212 CM Cooler
8GB Ram
EVGA 660SC (super clocked) 2GB Vram
CORSAIR CMPSU-750TX 750W
64 GB SSD SATA II HD
WIN7 UL 64BIT
Reply With Quote