macro not found or error in queue

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Intel
Noob
Noob
Posts: 3
Joined: 23 Oct 2011, 20:10
Noob?: Yes

macro not found or error in queue

#1 Post by Intel »

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
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: macro not found or error in queue

#2 Post by EternalHarvest »

Code: Select all

macro npc
[macro] npc error: error in 0: syntax error
macro loop
[macro] loop error: error in 3: syntax error
Intel
Noob
Noob
Posts: 3
Joined: 23 Oct 2011, 20:10
Noob?: Yes

Re: macro not found or error in queue

#3 Post by Intel »

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.
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: macro not found or error in queue

#4 Post by EternalHarvest »

Intel wrote:macro.txt
macros.txt?
Intel
Noob
Noob
Posts: 3
Joined: 23 Oct 2011, 20:10
Noob?: Yes

Re: macro not found or error in queue

#5 Post by Intel »

oops, Macros.txt is what i meant, nothing wrong there
jbj000
Noob
Noob
Posts: 4
Joined: 14 Feb 2012, 16:17
Noob?: Yes

Re: macro not found or error in queue

#6 Post by jbj000 »

I have the same problem.. anyone who can help us??