BeBot - An Anarchy Online and Age Of Conan chat automaton
Development => Module Requests => Topic started by: Nytridr on July 29, 2007, 12:28:37 am
-
is there a way to start a bot from a bot? I mean I have a bot that I never need excpet for certain things, and dont need to keep it running. is there a way to have the bot started from in game?
-
Technically you can likely use exec() if it is allowed by your PHP configuration.
http://no2.php.net/manual/en/ref.exec.php
-
Doesn't that freeze the calling process till the new process stops?
-
Hm, any reason to not have that bot running always? Not that it generates much traffic or CPU load...
-
Well, if the process froze it means the bot "running" the other bot would go unresponsive.
Example: bot1 starts bot2, bot2 works fine, bot1 doesn't respond till bot2 shuts down.
Not really an effective solution.
That would be if exec() is used.