automacro emoguild {
console /\[(距離|dist)=(.*)\] (.*) \((\d+)\): \*(剪刀|石頭|布)\*$/
# 操作視窗出現下列表情符號時
call {
if ($.lastMatch2 < 9) goto emoguild
stop
:emoguild
$i = $.lastMatch4
# 取得發出表情的玩家
$g = @eval (exists $::players{$::playersID[$i]}->{guild} ? $::players{$::playersID[$i]}->{guild}{name} : 'null')
# 取得發出表情的玩家工會
if ("$g" == "工會名稱") goto ok
if ("$g" == "工會名稱") goto ok
if ("$g" == "工會名稱") goto ok
if ("$g" == "工會名稱") goto ok
# 驗正 發出表情的玩家工會 和 設定輔助的工會 是否一樣
stop
:ok
if ($.lastMatch5 == "布") goto wave
if ($.lastMatch5 == "剪刀") goto peace
if ($.lastMatch5 == "石頭") goto fist
:wave
# 施展天賜
do sp 34 $i 10
stop
:peace
# 施展加速
do sp 29 $i 10
stop
:fist
# 施展聖母之祈福
do sp 361 $i 5
}
}
留言列表