Heal/Support Others Macro
Posted: 20 Apr 2017, 03:20
Hello guys!! I need a big help. I am trying to avoid my priest being recognized as a bot, so I would like him (being my slave) to also buff and heal others in 8 radius.
I am trying to use this macro but it does not work. Anyone good in making macros could check this out?
automacro SupportOthers {
console /\[dist=(.*)\] (.*) \((\d+)\): \*baps|buffs|buf|buff|buff me|buff pls|buff me pls|blessing|heal|heal pls|heal me|heal me pls|hela|bap|bup|hel\*$/
status Blessing
status Increase AGI
sp > 30%
run-once 1
timeout 30
exclusive 1
status Heal
sp > 80%
timeout 1
call {
$dist = $.lastMatch1
if ($dist > 8) stop
$name = $.lastMatch2
$PlayerID = $.lastMatch3
do sp 28 $PlayerID 10
do sp 34 $PlayerID 10
do sp 29 $PlayerID 10
do sp 361 $PlayerID 10
log Finish macro: SupportOthers at $.datetime
release SupportOthers
}
}
automacro SupportDead {
console /\[dist=(.*)\] (.*) \((\d+)\): \*resu|ress\*$/
status Blessing
status Increase AGI
sp > 30%
run-once 1
timeout 30
exclusive 1
call {
if (@invamount(Blue Gemstone) == 0) goto nogem
$dist = $.lastMatch1
if ($dist > 8) stop
$name = $.lastMatch2
$PlayerID = $.lastMatch3
do sp 54 $PlayerID 10
log Finish macro: SupportDead at $.datetime
:nogem
do c no gem
release SupportDead
}
}
I am trying to use this macro but it does not work. Anyone good in making macros could check this out?
automacro SupportOthers {
console /\[dist=(.*)\] (.*) \((\d+)\): \*baps|buffs|buf|buff|buff me|buff pls|buff me pls|blessing|heal|heal pls|heal me|heal me pls|hela|bap|bup|hel\*$/
status Blessing
status Increase AGI
sp > 30%
run-once 1
timeout 30
exclusive 1
status Heal
sp > 80%
timeout 1
call {
$dist = $.lastMatch1
if ($dist > 8) stop
$name = $.lastMatch2
$PlayerID = $.lastMatch3
do sp 28 $PlayerID 10
do sp 34 $PlayerID 10
do sp 29 $PlayerID 10
do sp 361 $PlayerID 10
log Finish macro: SupportOthers at $.datetime
release SupportOthers
}
}
automacro SupportDead {
console /\[dist=(.*)\] (.*) \((\d+)\): \*resu|ress\*$/
status Blessing
status Increase AGI
sp > 30%
run-once 1
timeout 30
exclusive 1
call {
if (@invamount(Blue Gemstone) == 0) goto nogem
$dist = $.lastMatch1
if ($dist > 8) stop
$name = $.lastMatch2
$PlayerID = $.lastMatch3
do sp 54 $PlayerID 10
log Finish macro: SupportDead at $.datetime
:nogem
do c no gem
release SupportDead
}
}