If you want to run different commands randomly would it work with a array? If it does,how do you do it? array =array(/fart,fard)
I think this should work: PHP: $foo = array("cmd1","cmd2");$this->api->console->run($foo[array_rand($foo)]);