kk tolong donk mau tanya nih gw ada macro buat sl spirt2an, udah bisa jalan sih semuanya tapi pengen nambah gimana nih biar itu sl tanpa kita ngasih tanda minta pake or apalah dia otomatis langsung nagsih paketannya jadi tinggal ngeliat nama2 list guildnya aja bisa di bantu..
nih macro gw ada yang perlu di edit kah?
automacro healer1 {
map gonryun
sp <= 20%
run-once 1
call hil
}
macro hil {
do storage close
do talknpc 169 68 c r0 n
do reload macro
release all
}
automacro spirit {
console /\[dist=(.*)\] (.*) \((\d+)\): (\*flag\s\d\*|paket)$/
exclusive 1
call {
$distance = $.lastMatch1
$namaPlayer = $.lastMatch2
$playerID = $.lastMatch3
$playerguild = @eval (exists $:
layers{$:
layersID[$playerID]}->{guild} ? $:
layers{$:
layersID[$playerID]}->{guild}{name} : 'null')
#Nama guild yg mau di paket
$guild = Feather Friends
$guild1 = Rebellion`
$guild2 = SESAT
$guild3 = Black Feather
$guild4 = Rebellion
if ($playerguild == $guild) goto oke
if ($playerguild == $guild1) goto oke
if ($playerguild == $guild2) goto oke
if ($playerguild == $guild3) goto oke
if ($playerguild == $guild4) goto oke
goto lain
ke
if ($id < 0) stop
$jobID = @eval ($:
layers{$:
layersID[$playerID]}->{jobID})
if ($jobID = 7) goto knight
if ($jobID = 13) goto knight
if ($jobID = 174) goto knight
if ($jobID = 4008) goto knight
if ($jobID = 4014) goto knight
if ($jobID = 12) goto assassin
if ($jobID = 4013) goto assassin
if ($jobID = 10) goto smith
if ($jobID = 4011) goto smith
if ($jobID = 14) goto paladin
if ($jobID = 21) goto paladin
if ($jobID = 4015) goto paladin
if ($jobID = 4022) goto paladin
if ($jobID = 4012) goto sniper
if ($jobID = 11) goto sniper
if ($jobID = 16) goto professor
if ($jobID = 4017) goto professor
if ($jobID = 8) goto priest
if ($jobID = 4009) goto priest
if ($jobID = 15) goto champion
if ($jobID = 4016) goto champion
if ($jobID = 9) goto wizard
if ($jobID = 4010) goto wizard
if ($jobID = 17) goto stalker
if ($jobID = 4018) goto stalker
if ($jobID = 18) goto creator
if ($jobID = 4019) goto creator
if ($jobID = 4020) goto clown
if ($jobID = 4021) goto clown
if ($jobID = 19) goto clown
if ($jobID = 20) goto clown
if ($jobID = 4047) goto star
if ($jobID = 4048) goto star
if ($jobID = 4049) goto soul
if ($jobID = 23) goto snoob
:snoob
do sp 451 $playerID
goto end
:star
do sp 448 $playerID
goto end
:soul
do sp 461 $playerID
goto end
:knight
do sp 452 $playerID
goto end
riest
do sp 454 $playerID
goto end
:wizard
do sp 453 $playerID
goto end
:smith
do sp 458 $playerID
goto end
:sniper
do sp 460 $playerID
goto end
:assassin
do sp 457 $playerID
goto end
aladin
do sp 450 $playerID
goto end
:champion
do sp 447 $playerID
goto end
rofessor
do sp 449 $playerID
goto end
:creator
do sp 445 $playerID
goto end
:clown
do sp 455 $playerID
goto end
:stalker
do sp 456 $playerID
goto end
:lain
do e ??
:end
}
}