hi,
I don't have a clue on what should I do to this code work :
CONFIG.TXT
blabla ve_fild03 201 112
MACRO.TXT
automacro test {
location not @config(blabla)
call x
}
can anyone help me on this one?? ;D
I saw something using this : eval ($::field->baseName eq $::config{lockMap})
but this one appears to be only for map name, not the coordinates too...
Thanks
[help] location not @config
Moderator: Moderators
-
- Plain Yogurt
- Posts: 62
- Joined: 17 Jul 2010, 00:48
- Noob?: No
- Location: pRO Valkyrie
Re: [help] location not @config
http://openkore.com/index.php/Macro_plugin#EventsMendes11 wrote:automacro test {
location not @config(blabla)
call x
}
dunno where you got this one but it's not supposed to be used as an example of an automacro event.Mendes11 wrote:eval ($::field->baseName eq $::config{lockMap})
you should read more on the documentation
http://openkore.com/index.php/Macro_plugin

-
- Noob
- Posts: 5
- Joined: 28 Dec 2012, 12:49
- Noob?: Yes
Re: [help] location not @config
Well... the manual don't say anything about using variables on location...
-
- Plain Yogurt
- Posts: 62
- Joined: 17 Jul 2010, 00:48
- Noob?: No
- Location: pRO Valkyrie
Re: [help] location not @config
because you're not really suppose to.Mendes11 wrote:Well... the manual don't say anything about using variables on location...
Code: Select all
location [not] <mapname [<x1> <y1> [<x2> <y2>]] [, ...]
anyway.. you now have the proper format. i think you can solve it on your own now.
