macro sacra yg ditrigger kata "sacra" atau bendera, khusus guild tertentu
automacro paket {
console /\[(jarak|dist)=(.*)\] (.*) \((\d+)\): (\*Flag\s\d\*|sc)$/
exclusive 1
run-once 1
call {
$distance = $.lastMatch2
$namaPlayer = $.lastMatch3
$playerID = $.lastMatch4
$playerguild = @eval (exists $::players{$::playersID[$playerID]}->{guild} ? $::players{$::playersID[$playerID]}->{guild}{name} : 'null')
#Nama guild yg mau di paket
$guild1 = A
$guild2 = B
$guild3 = C
$guild4 = D
if ($playerguild == $guild1) goto oke
if ($playerguild == $guild2) goto oke
if ($playerguild == $guild3) goto oke
if ($playerguild == $guild4) goto oke
goto lain
:oke
if ($distance > 9 ) goto jauh
#skill sacra
do sp 2515 $playerID
goto end
:jauh
goto end
:lain
do e ??
:end
release paket
}
}
0 comments:
Post a Comment