本帖最後由 likeqaz7714 於 2016-7-29 19:43 編輯
automacro b {
console /(.*) ((.*)) 向您要求一個交易/
call {
do deal
pause 15
#15秒內不動作取消交易
do deal no
stop
}
}
automacro c {
console /(.*) 加入物品以交易: (.*)/
call {
#加入物品取消交易
do deal no
stop
}
}
automacro d {
console /(.*) 加入 (.*) z 以交易/
call {
$a = $.lastMatch2
if ($a = 1,300) goto bb
if ($a = 1,900) goto bb
if ($a = 2,400) goto bb
if ($a = 2,300) goto bb
#$a = ".*" = 金額
pause 1
#當金額!=你販賣的金額取消交易
do deal no
stop
:bb
pause 1
do deal
pause 1
do deal
pause 10
deal no
#輸入金額10秒內未完成交易者取消交易
stop
}
}
automacro f {
console /獲得 (.*) zeny/
call {
$asd = 0
pause 1
do chat leave
$a = $.lastMatch1
if ($a = 1,300) goto a1
if ($a = 1,900) goto b2
if ($a = 2,400) goto c3
if ($a = 2,300) goto d4
#$a = ".*" = 金額
:a1
call aa1
#執行macro aa1
stop
:b2
call bb2
stop
:c3
call cc3
stop
:d4
call dd4
stop
}
}
|