BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Riccarr on June 11, 2010, 03:58:24 am
-
Is there a built in/command approach to scheduling a command or script to run?
I don't mean creating a php module and using cron even, but rather a bot ! command that would let me set a schedule to run a command, for example, let me schedule a "!script scriptname" to run in guildchat evey 60 minutes?
-
The built in mechanism to allow this to occur is the cron functionality.
What you want is currently not supported, but it is fully feasible to do, although if you want to allow execution of ANY !command it would be a mess.
If you want it to be limited to the script module, it's a bit easier, but it still requires interaction with cron ;)
It's an interesting idea, and I'll need to think a bit about it, but I have a few ideas that might make such things even easier to do in the future.