I made two very simple macros to test out the plugin, however it isn't being detected. I could really use some help! I have been stuck on this for hours!
First of all, the files are inplace according to the guide..
http://www.openkore.com/index.php/Macro_plugin
My macros are very simple:
macro npc {
talknpc 200 205 c r3 c c c
}
macro loop {
$variable = 1
$count = 20
while ($variable < $count) as <loop>
talknpc 200 205 c r3 c c c
$variable = $variable + 1
end <loop>
}
one is for talking to a npc, and one is for talking to the npc but in a loop for n times.
The code for talking to the npc works fine in the command console, so the npc co-ordinates are correct.
However, when i try to run the macro in the command console
macro npc
macro loop
i get the macro -name- not found or error in queue.
Any insight as to why this is happening would be great.
Thanks,
I
macro not found or error in queue
Moderator: Moderators
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: macro not found or error in queue
Code: Select all
macro npc
[macro] npc error: error in 0: syntax error
macro loop
[macro] loop error: error in 3: syntax error
-
- Noob
- Posts: 3
- Joined: 23 Oct 2011, 20:10
- Noob?: Yes
Re: macro not found or error in queue
I'm more concerned why my macros aren't even being detected. I would probably be able to attempt on debugging it if the code was broken, but right now kore isn't picking up on it.
The macro.txt is in the right location as well.
The macro.txt is in the right location as well.
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: macro not found or error in queue
macros.txt?Intel wrote:macro.txt
-
- Noob
- Posts: 3
- Joined: 23 Oct 2011, 20:10
- Noob?: Yes
Re: macro not found or error in queue
oops, Macros.txt is what i meant, nothing wrong there
-
- Noob
- Posts: 4
- Joined: 14 Feb 2012, 16:17
- Noob?: Yes
Re: macro not found or error in queue
I have the same problem.. anyone who can help us??