Coffee hasn't kicked in yet, but your script will never work because it never gets to later timeouts.
Because every 300000 'tics' it simply sets the time to 8.25.
It will never GET to the later times.
Use the
file command
You can set off the loop manually or place it in your rcu.
You need however many text files for as many time changes you want. The last file must call the first file.
Warning. I have no idea what the syntax is for the chat command, so you may need to change that line in each
txt file example below.
First file:
set the tod to (whatever), then give a timeout to call the next file.
Second file:
set the tod to (whatever), then give a timeout to call the NEXT file.
etc.
Last file:
set the tod to (whatever), then give a timeout to call the
FIRST file. (Completing the loop)
Example RCU:
Code:
@set fast off
@set echo on
@set alias on
@set history 20
@file gc.cmd
@alias a alias
@a h history
@a s show
@a md mp_dotrange
@a fon fps START SHOW
@a foff fps STOP HIDE
file tod_01.txt
Here's tod_01.txt
Code:
tod 7.50
chat <=Server=> Time 7.50 [ALL]
timeout 30000 file tod_02.txt
Here's tod_02.txt
Code:
tod 14.50
chat <=Server=> Time 14.50 [ALL]
timeout 30000 file tod_03.txt
Here's tod_03.txt
Code:
tod 21.50
chat <=Server=> Time 21.50 [ALL]
timeout 30000 file tod_04.txt
Here's tod_04.txt (the final file in the loop)
Code:
tod 5.50
chat <=Server=> Time 5.50 [ALL]
timeout 30000 file tod_01.txt
Hope this helps.