Pages

Saturday, December 24, 2011

Macro Bot FCP Ragnarok


automacro fcp {
console /\[(jarak|dist)=(.*)\] (.*) \((\d+)\): (\*Heart\*|\*Kiss 2\*|\*Flag\s\d\*|\*2Hearts\*|\*Kiss\*|\*Love\*)$/
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 yang mau di paket
$guild1 = Test
$guild2 = Test
$guild3 = Test
$guild4 = Test
$player1 = Test

if ($distance > 2 ) goto jauh
if ($playerguild == $guild1) goto oke
if ($playerguild == $guild2) goto oke
if ($playerguild == $guild3) goto oke
if ($playerguild == $guild4) goto oke
if ($namaPlayer == $player1) goto oke
goto lain

:oke
do sp 479 $playerID 5
goto end

:jauh
do e ??
goto end

:lain
do e ??

:end
release fcp
}
}

*catatan : edit sesuai keinginan kamu

Share

2 comments:

Rifki said...

coba liat baik baik masa ini macronya FCP om ? @_@
kasih tw gw ya qlo dapat macronya FCP buat guild :D

by rifkichocobo@gmail.com

Nailur Rohman said...

bisa kok, kalau mau tanpa guild, ganti semua ini :

if ($playerguild == $guild1) goto oke
if ($playerguild == $guild2) goto oke
if ($playerguild == $guild3) goto oke
if ($playerguild == $guild4) goto oke
if ($namaPlayer == $player1) goto oke
goto lain

jadi :

goto oke

Post a Comment