Access values of config.txt via macro

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
setsunaseiei
Human
Human
Posts: 38
Joined: 17 May 2011, 07:09
Noob?: No

Access values of config.txt via macro

#1 Post by setsunaseiei »

Is there a plugin that can obtain a certain variable in config.txt for macro usage?
Like for instance, I want to obtain current lockMap's value. Thank you.
オペンコレ!


KoreGhost
Developers
Developers
Posts: 123
Joined: 28 Mar 2011, 12:48
Noob?: No
Location: Brazil
Contact:

Re: Access values of config.txt via macro

#3 Post by KoreGhost »

Code: Select all

@config (<variable>)
    Returns the value of <variable> specified in config.txt. 
example:

Code: Select all

$mapLock = @config(lockMap)

Locked