Page 1 of 1

start via batch file ?

Posted: Sat Feb 26, 2011 6:51 am
by rambo66
Hello I'm trying to start the bot per batch file...

but without success.. has anyone an idea ?

tried it with this already:
run.bat:
micromacro.exe /rom/bot.lua path:run5

thanks for ideas.. ;)

regards,
ram

Re: start via batch file ?

Posted: Sat Feb 26, 2011 7:06 am
by rock5
Check out startbot.bat.

Re: start via batch file ?

Posted: Sat Feb 26, 2011 7:19 am
by rambo66
rock5 wrote:Check out startbot.bat.
START ../../micromacro.exe "%folder%/bot.lua"

Sounds good... but still i'm not sure about how do i get the "path:run5" behind it ?

Re: start via batch file ?

Posted: Sat Feb 26, 2011 7:35 am
by rock5
rambo66 wrote:Sounds good... but still i'm not sure about how do i get the "path:run5" behind it ?
Just add it to the end. If you don't want to use the whole file, you can simlify it like this;

Code: Select all

START ../../micromacro.exe "scripts/rom/bot.lua" path:run5
The beauty of using the whole file is that it doesn't matter what the rom folder is called, which wont matter if you only have the one rom folder. I currently have 6. :D

Re: start via batch file ?

Posted: Sat Feb 26, 2011 11:01 am
by rambo66
thanks... sometimes i think to difficult.. tried many things.. but now it is working.. ;-)

thx