__________________________________________________________________
automacro samplebuffer {
sp > 20%
console /[dist=(.*)] (.*) ((d+)): (.*)(buff|Flag|Help|heal)(.*)$/
exclusive 1
call {
$dist = $.lastMatch1
$target = $.lastMatch3
$skill = $.lastMatch5
if ($dist > 8) goto end
if ($skill == buff) goto buff
if ($skill == Flag) goto buff
if ($skill == Help) goto heal
if ($skill == heal) goto heal
goto end
:buff
# 34 blessing
# 29 inc agi
do sp 34 $target
do sp 29 $target
goto emo
:heal
# 28 heal
do sp 28 $target
goto emo
:emo
#$last = $.lastMatch2
do e e29
goto end
:end
stop
}
Just paste this in the macro.txt located in "openkoredirectory/control/macro.txt"
No comments:
Post a Comment