Page 1 of 1

Macro commands to read/write an ini in the Release folder

Posted: Tue Jul 05, 2005 8:23 pm
by notadruid
Wikipage: http://www.macroquest2.com/wiki/index.php/TLO:Ini

What I'm looking for is the syntax of ${Ini} and /ini to read and write entries in an ini in the Release folder, not the release\macros folder. The intent is for a macro to change settings for a plugin when it initializes, then reload the plugin to recognize the settings stored in the ini.

Specifically, I'd like to define the melee range MQ2Autoskills uses, which is set in MQ2AutoSkills_CharName.ini in the release folder

Posted: Tue Jul 05, 2005 10:02 pm
by blueninja
You can specify an absolute path to the file as an argument to the ini command and tlo. You would have to hard code this path however, it's not availiable to macros. If you have your macro dir set up under release as it is in the distribution you could just use "..\filename.ini" ..