automacro Dealok2 {
console /[drop] 物品已加入背包: 濃縮鋁箱子(.*)x(.*)-(.*)/
call {
$P2 = @eval($P2 - $.lastMatch2)
release all
do conf logConsole 0
call start1
}
}
automacro Dealok3 {
console /[drop] 物品已加入背包: 經驗值倍增書箱子(.*)x(.*)-(.*)/
call {
$P3 = @eval($P3 - $.lastMatch2)
release all
do conf logConsole 0
call start1
}
}
automacro Dealok4 {
console /[drop] 物品已加入背包: 隨地倉庫使用券箱子(.*)x(.*)-(.*)/
call {
$P4 = @eval($P4 - $.lastMatch2)
release all
do conf logConsole 0
call start1
}
}
automacro Dealok5 {
console /[drop] 物品已加入背包: 擴聲器箱子(.*)x(.*)-(.*)/
call {
$P5 = @eval($P5 - $.lastMatch2)
release all
do conf logConsole 0
call start1
}
}
##以下不用調整 ==============================================
automacro FinDeal {
console /(.*)完成了本交易/
run-once 1
call {
if ($asd = 1) goto asa
pause 2
do deal no
do conf logConsole 0
release all
stop
:asa
$asd = 0
do deal add z $dealco
$dealco = 0
do deal
pause 1
do deal
pause 15
log 來亂的人
$dealout = @eval($dealout + 1)
do deal no
stop
}
}
macro Deal15no {
pause 10
if ($asd = 1) goto asa
pause 2
do deal no
do conf logConsole 0
release all
stop
:asa
$asd = 0
do deal add z $dealco
$dealco = 0
do deal
pause 1
do deal
pause 15
log 來亂的人
$dealout = @eval($dealout + 1)
do deal no
}
automacro Dealno {
console /(.*)交易已取消/
run-once 1
call {
$asd = 0
do deal no
do conf logConsole 0
release all
call start1
}
}