automacro pubmguild {
console /\[(距離|dist)=(.*)\] (.*) \((\d+)\): (吉芬|炎波|蟻洞|古城)/
exclusive 1
call {
$i = $.lastMatch4
if ($.lastMatch2 > 5) goto stop
$g = @eval (exists $::players{$::playersID[$i]}->{guild} ? $::players{$::playersID[$i]}->{guild}{name} : 'null')
if ("$g" == "xxxxxxx") goto ok
if ("$g" == "xxxxxxx") goto ok
stop
:ok
if ($.lastMatch5 == "吉芬") goto mac00
if ($.lastMatch5 == "炎波") goto mac01
if ($.lastMatch5 == "蟻洞") goto mac02
if ($.lastMatch5 == "古城") goto mac03
stop
:mac00
$a = @invamount(藍色魔力礦石)
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$y2 = @eval($y + -1)
do sl 27 $x $y2
pause 1
do warp 0
$b = @invamount(藍色魔力礦石)
if ($a == $b) goto End
do c ↓吉芬↓ 若看不到傳點請移動人物、在喊一次
stop
# 記憶點第一個
:mac01
$a = @invamount(藍色魔力礦石)
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$y2 = @eval($y + 1)
do sl 27 $x $y2
pause 1
do warp 1
$b = @invamount(藍色魔力礦石)
if ($a == $b) goto End
do c ↑炎波↑ 若看不到傳點請移動人物、在喊一次
stop
# 記憶點第二個
:mac02
$a = @invamount(藍色魔力礦石)
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$x2 = @eval($x + 1)
do sl 27 $x2 $y
pause 1
do warp 2
$b = @invamount(藍色魔力礦石)
if ($a == $b) goto End
do c 蟻洞→ 若看不到傳點請移動人物、在喊一次
stop
# 記憶點第三個
:mac03
$a = @invamount(藍色魔力礦石)
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$x2 = @eval($x + -1)
do sl 27 $x2 $y
pause 1
do warp 3
$b = @invamount(藍色魔力礦石)
if ($a == $b) goto End
do c ←古城 若看不到傳點請移動人物、在喊一次
stop
# 記憶點第四個
}
}