Hi,
I'm looking for a script that every day, will restart all scripts...
So the command: !restartscripts wil be executed on time xx:xx every 24 hours (day).
Thanx
use a BCDC script for this.
There is indeed a script for it. But it is timer set.... it will refresh within xx minutes... and not at time xx.. (what I want)... or is there such a script for it that can be triggert @ time xx?
thanx
It can easily be done as lua can grab the current date :)
yes, like bastya_elvtars says, this isn't too hard with a combination of os.date() and the OnTimer function
take note though, I've removed the OnTimer (which gets called every second) though by default. hit DC():RunTimer(1) if you want it from now on.
edit: hoi TTB ;)
sed: what about just making the BCDC functions list for me
(i know bout available listeners, just the funcs with few words explanation) and i can make a howto out of it in almost no time. i have been longing a long time for a BCDC scripting howto.
thx in advance.