Code: Select all
***************** Auto Attack *******************
automacro paket {
sp > 30%
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 = DustOfMemories
$guild2 = nama guild
if ($playerguild == $guild1) goto oke
if ($playerguild == $guild2) goto oke
goto lain
:oke
goto end
:lain
do sp 490 $.lastplayerID 10
:end
release paket
}
}