#補師巨集 喊話++ 傳陣 表情補血 (工會版)
#紅色字體依需求自行更改
automacro mac {
console /\[(距離|dist)=(.*)\] (.*) \((\d+)\): \*(表情符號)\*$/
exclusive 1
call {
if ($.lastMatch2 < 9) goto help
stop
:help
$i = $.lastMatch4
$g = @eval (exists $::players{$::playersID[$i]}->{guild} ? $::players{$::playersID[$i]}->{guild}{name} : 'null')
if ("$.lastMatch3" == "黑名單人物") goto stop
if ("$g" == "輸入工會ID") goto ok
if ("$g" == "輸入工會ID") goto ok
if ("$g" == "輸入工會ID") goto ok
stop
:ok
if ($.lastMatch5 == "表情符號") goto fist
:fist
do sp 28 $i 10
pause 1
do sp 28 $i 10
pause 1
do sp 28 $i 10
pause 1
:stop
stop
}
}
automacro pubmguild {
console /\[(距離|dist)=(.*)\] (.*) \((\d+)\): (中|加|龍|火)/
exclusive 1
call {
$i = $.lastMatch4
if ($.lastMatch2 > 9) goto stop
$g = @eval (exists $::players{$::playersID[$i]}->{guild} ? $::players{$::playersID[$i]}->{guild}{name} : 'null')
if ("$.lastMatch3" == "黑名單人物") goto stop
if ("$g" == "輸入工會ID") goto ok
if ("$g" == "輸入工會ID")goto ok
if ("$g" == "輸入工會ID") goto ok
stop
:ok
if ($.lastMatch5 == "中") goto mac01
if ($.lastMatch5 == "加") goto mac02
if ($.lastMatch5 == "龍") goto mac03
if ($.lastMatch5 == "火") goto mac04
stop
:mac01
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$y2 = @eval($y + -1)
do sl 27 $x $y2
pause 2
do warp prontera
do c ↓中央↓
stop
:mac02
do sp 34 $i 10
pause 1
do sp 29 $i 10
pause 1
do sp 73 $i 10
pause 1
stop
:mac03
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$x2 = @eval($x + -1)
do sl 27 $x2 $y
pause 2
do warp hu_fild06
do c ←龍洞
stop
:mac04
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$x2 = @eval($x + 1)
do sl 27 $x2 $y
pause 2
do warp yuno_fild03
do c 火洞→
stop
:stop
stop
}
}
|