problem with my macro

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

Moderator: Moderators

vitriol
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 19 Apr 2011, 23:26
Noob?: No

problem with my macro

#1 Post by vitriol »

it runs once and then doesn't work anymore until they relog.

the follow macros may seem redundant but i bot and play manually, and the follow chat command frequently gives me a failure message. if i do it by console though, they do follow. so the macro is basically to make sure they follow

Code: Select all

automacro follow {
   party /^follow$/
   call {
	do follow $.lastparty
      stop
   }
}

automacro followOther {
   party /^follow (.*)/
   call {
	do follow $.lastMatch1
      stop
   }
}


automacro doCommand {
   console /\[Party] (.*)\ : do (.*)/
   call {  
      do $.lastMatch2
      stop
   }
}
Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: problem with my macro

#2 Post by Mushroom »

Try changing the regex from the automacro doCommand

Code: Select all

console /\[Party\] (.*): do (.*)/i
Quit.