Chatbox

Minggu, 27 Mei 2012

Macro Bot Spirit Umum | Public Flag


 Macro ini akan terpanggil saat org mengibarkan bendera atau bicara spirit

automacro spirit {
console /\[dist=(.*)\] (.*) \((\d+)\): (\*Flag\s\d\*|spirit)$/
exclusive 1
call {
$IDPlayer = $.lastMatch3
$jobID = @eval ($::players{$::playersID[$IDPlayer]}->{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
:priest
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
:paladin
do sp 450 $playerID
goto end
:champion
do sp 447 $playerID
goto end
:professor
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
}
}

2 komentar:

  1. kalo tanpa flag/comand gmn gan? macros gw jg sama kaya gini thx...

    BalasHapus
    Balasan
    1. ke tanya jawab aja gan, sambil baca rulez dlu

      Hapus