automacro keyword {
player "XXXXX"
call spiritin
priority 0
}
macro spiritin {
$di = $.lastMatch1
$n = $.lastMatch2
$b = $.lastMatch3
$skill = $.lastMatch5
$job = do eval (return $::players{$::playersID[$b]}->{jobID})
goto skill
stop
:skill
if ($skill == spirit) goto spirit
if ($skill == Flag) goto spirit
if ($di < Cool goto ka
goto far
stop
:ka
if ($skill == kaupe) goto kaupe
if ($skill == kaite) goto kaite
if ($skill == kaahi) goto kaahi
goto end
:spirit
if ($job = 12) goto sin
if ($job = 4013) goto sin
if ($job = 16) goto sage
if ($job = 4017) goto sage
if ($job = Cool goto pris
if ($job = 4009) goto pris
if ($job = 15) goto monk
if ($job = 4016) goto monk
if ($job = 9) goto wiz
if ($job = 4010) goto wiz
if ($job = 17) goto rogue
if ($job = 4018) goto rogue
if ($job = 1Cool goto alche
if ($job = 4019) goto alche
if ($job = 4020) goto bdc
if ($job = 4021) goto bdc
if ($job = 19) goto bdc
if ($job = 20) goto bdc
if ($job = 14) goto crs
if ($job = 4015) goto crs
if ($job = 21) goto crs
if ($job = 4022) goto crs
if ($job = 23) goto sn
if ($job = 10) goto bs
if ($job = 4011) goto bs
if ($job = 4047) goto tm
if ($job = 4048) goto tm
if ($job = 4049) goto sl
if ($job = 7) goto knit
if ($job = 13) goto knit
if ($job = 174) goto knit
if ($job = 4014) goto knit
goto unspirit
:sin
if ($di < Cool goto sin1
goto far
:sage
if ($di < Cool goto sage1
goto far
:pris
if ($di < Cool goto pris1
goto far
:monk
if ($di < Cool goto monk1
goto far
:wiz
if ($di < Cool goto wiz1
goto far
:rogue
if ($di < Cool goto rogue1
goto far
:alche
if ($di < Cool goto alche1
goto far
:bdc
if ($di < Cool goto bdc1
goto far
:crs
if ($di < Cool goto crs1
goto far
:sn
if ($di < Cool goto sn1
goto far
:bs
if ($di < Cool goto bs1
goto far
:tm
if ($di < Cool goto tm1
goto far
:sl
if ($di < Cool goto sl1
goto far
:knit
if ($di < Cool goto knit1
goto far
:sin1
do sp 457 "$n"
goto finish
:sage1
do sp 449 "$n"
goto finish
:pris1
do sp 454 "$n"
goto finish
:monk1
do sp 447 "$n"
goto finish
:wiz1
do sp 453 "$n"
goto finish
:rogue1
do sp 456 "$n"
goto finish
:alche1
do sp 445 "$n"
goto finish
:bdc1
do sp 455 "$n"
goto finish
:crs1
do sp 450 "$n"
goto finish
:sn1
do sp 451 "$n"
goto finish
:bs1
do sp 458 "$n"
goto finish
:tm1
do sp 448 "$n"
goto finish
:sl1
do sp 461 "$n"
goto finish
:knit1
do sp 452 "$n"
goto finish
:finish
release all
do e no1
stop
:unspirit
release all
do c sori $n I don't have Spirit for your player!
stop
:kaupe
do sp 464 "$n"
stop
:kaite
do sp 465 "$n"
stop
:kaahi
do sp 463 "$n"
stop
:far
do c $n Come Here Now! You'r So Far! ^^
stop
:end
stop
}
Monday, March 17, 2008
Macro Linker V2
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment