[help] my macro won't run

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

Moderator: Moderators

darkyami
Noob
Noob
Posts: 2
Joined: 29 Dec 2012, 12:58
Noob?: Yes

[help] my macro won't run

#1 Post by darkyami »

My openkore can run perfectly but the macro is not running.

This is the picture
Image
This is my config

Code: Select all

######## Macro ########
macro_nowarn 0
macro_file macros.txt
macro_allowDebug 0
macro_orphans terminate
This is my macros.txt

Code: Select all

################################
######FIND MASTER###############
################################
#find master
automacro findMaster {
   timeout 3
   console /^I lost my master/
   call {
   $master = @config (followTarget)
   do pm "$master" x $.map $.pos
   }
}
automacro findMaster2 {
   timeout 3
   console /^Calculating route to find master/
   call {
   $master = @config (followTarget)
   do pm "$master" x $.map $.pos
   }
}
#goto master
automacro gotoMaster {
   pm /x (.*) (.*) (.*)/
   call {
   $pm = $.lastpm
   if ($pm != $master) stop
   do move $.lastMatch1 $.lastMatch2 $.lastMatch3
   }
}
#when master is found
automacro foundMaster {
   console /^Found my master!/
   call {
   do pm "$master" clear
   }
}
what should i do?