also I combined your two slave saving macros as my slaves are only Priests that I wish to use this for (any other class can handle themselves or teleport imo)
automacro statusRecover {
run-once 1
class Priest
console /Monster (.*) \((\d+)\) attacks you /i
call statusRecoverynow
timeout 8
}
macro statusRecoverynow {
$m = $.lastMatch2
$mymap = $.map
$lockmap = @config (lockMap)
$master = @config (followTarget)
$mon = $.lastMatch2
do sm 72 $m
if ($mymap != $lockmap) goto stop
do pm "$master" xd a $mon
:stop
stop
release statusRecover
}
also, couldn't you just authorize each of your bots to each other, and remove the XD portion of the PM macro so that it automatically "a <mon>" so it would look like this:
automacro statusRecover {
run-once 1
class Priest
console /Monster (.*) \((\d+)\) attacks you /i
call statusRecoverynow
timeout 8
}
macro statusRecoverynow {
$m = $.lastMatch2
do sm 72 $m
$mymap = $.map
$lockmap = @config (lockMap)
$master = @config (followTarget)
$mon = $.lastMatch2
if ($mymap != $lockmap) goto stop
do pm "$master" a $mon
:stop
stop
release statusRecover
}
and if the bot was in town it would just say : "<mon> not found!" and continue on its ai route?
Member since 09/09/09, botter since its first creation days. Thanks Kura for the original Kore.
not all players put saveMap option on their configs, and sometimes players have different kafra maps than where they are saved.
also, couldn't you just authorize each of your bots to each other, and remove the XD portion of the PM macro so that it automatically "a <mon>" so it would look like this:
remember in my party search macro you shoudnt put your priest at your master's authorization in short u couldnt use "a" command because ur priest is not authorized
also I combined your two slave saving macros as my slaves are only Priests that I wish to use this for (any other class can handle themselves or teleport imo)