Code: Select all
automacro mymacro {
var myvar > 20
call {
log mymacro triggers
}
}
Moderator: Moderators
Code: Select all
automacro mymacro {
var myvar > 20
call {
log mymacro triggers
}
}
Code: Select all
automacro assistme {
party /^w([\d+])\+(stop|.*)/
hp > 10%
sp > 5%
timeout 2
priority 0
call {
lock assistmetimer
$followbuf = 1
$followlast = @config (followTarget)
$followst = @config (follow)
release assistmedo
release assistmetimer
}
}
automacro assistmetimer {
var followbuf >= 1
timeout 3
priority 0
exclusive 1
call {
$followbuf++
if ($followbuf >= 5) {
$followbuf = 0
.....
}
}
}
automacro assistmedo {
var followbuf >= 1
console / Found the master/
timeout 4
priority 1
call {
pause 0.5
$followbuf = 0
......
release assistmedo
}
}