Scripts Dir
Forum rules
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
Scripts Dir
Hello! Is there a way to define where the Script Dir is? Right now i have to copy all my scripts in "micromacro/scripts", it would be nice if i could tell MM to load the scripts from "D:\Bots\Scripts" or from anywhere else.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Scripts Dir
No, it is, at the time being, compiled into the executable (micromacro.exe). However, I'll put this on my to-do list to move that to a config variable.
You can specify a full path to a script when running it from the command line, though:
You can specify a full path to a script when running it from the command line, though:
Code: Select all
micromacro.exe D:\Bots\Scripts\script.lua
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Scripts Dir
I've worked something up pretty quick. You can test it for me.
You'll only need to update your micromacro.exe and add this line to your config.lua file:
You'll only need to update your micromacro.exe and add this line to your config.lua file:
Code: Select all
scriptsDirectory = "D:/Bots/Scripts/";
Re: Scripts Dir
Works perfect. thanks!Administrator wrote:I've worked something up pretty quick. You can test it for me.
You'll only need to update your micromacro.exe and add this line to your config.lua file:Code: Select all
scriptsDirectory = "D:/Bots/Scripts/";
Who is online
Users browsing this forum: Google [Bot] and 12 guests