Code: Select all
automacro healRequest {
   pubm /(H|h)(ea|i)l pl(s|z)/, 5
   call {
     call healPlayer -- $.lastpub
   } 
}
macro healPlayer {
  $playerID = @player($.param1)
  do sp 28 $playerID
}
I tried a different approach:
Code: Select all
automacro healRequest {
   pubm /(H|h)(ea|i)l pl(s|z)/, 5
   call {
      do macro healPlayer -- $.lastpub
   }
}
Any other ideas so we can pass parameters to macros in automacros? I don't want to paste every instruction on every automacro, since I will be setting different triggers to perform the same command, and the macro itself might become huge.

