Wacth & Learn

Selasa, 29 Juni 2010

Macro Ka Soul Linker

automacro paket {
console /\[(jarak|dist)=(.*)\] (.*) \((\d+)\): (\*Flag\s\d\*|ka|KA)$/
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 = Howling Corp
$guild2 = Watch N Learn
$guild3 = Cest La Vie
$player1 = Howling VIII
$player2 = Howling X
if ($playerguild == $guild1) goto oke
if ($playerguild == $guild2) goto oke
if ($playerguild == $guild3) goto oke
if ($namaPlayer == $player1) goto oke
if ($namaPlayer == $player2) goto oke
goto lain

:oke

if ($distance > 10 ) goto jauh

pause 1
do sp 465 $playerID 7
pause 0.2
do sp 465 $playerID 7
do sit

goto end

:jauh

goto end
:lain
do e ??

:end

release paket
}
}

1 komentar: