automacro DealMoney {
console /交易完成/
call {
lock DealRe
do conf dealAuto 0
pause 0.2
if ($AssignNumber == 7) goto SEVEN
pause 0.2
if ($AssignNumber == 8) goto EIGHT
pause 0.2
if ($AssignNumber == 9) goto NIGHT
pause 0.2
:ONETOSIX
do c $DealID 猜數字-"$AssignNumber" 金額: $LabMoney Z
goto connnn
:SEVEN
do c $DealID 押"小" 金額:$LabMoney Z
goto connnn
:EIGHT
do c $DealID 押"中" 金額:$LabMoney Z
goto connnn
:NIGHT
do c $DealID 押"大" 金額:$LabMoney Z
goto connnn
:connnn
lock DealMoney
pause 0.5
do c 開
pause 0.2
#擲骰子
do e 骰子
}
}
automacro Emotions {
console /emotion tutelary-月 \*骰子\#(.*)\*/
call {
pause 0.1
$emotion = $.lastMatch1
pause 0.5
if ($AssignNumber < 7) goto OneToSix
pause 0.1
#賭大中小,開出點數為 1,2
if ($emotion < 3) goto Seven
pause 0.1
#賭大中小,開出點數為 5,6
if ($emotion > 4) goto Nine
pause 0.1
#賭大中小,開出點數為 3,4
goto Eight
:OneToSix
pause 0.1
do c 開出: 數字-$emotion
pause 0.1
if ($emotion == $AssignNumber) goto OneToSixWin
goto loss
:Seven
pause 1
do c 開出: "骰子$emotion" (小)
pause 0.1
if ($AssignNumber == 7) goto SevenToNineWin
goto loss
:Eight
pause 1
do c 開出: "骰子$emotion" (中)
pause 0.1
if ($AssignNumber == 8) goto SevenToNineWin
goto loss
:Nine
pause 1
do c 開出: "骰子$emotion"
pause 0.1
if ($AssignNumber == 9) goto SevenToNineWin
goto loss
這是片段 執行到 do e骰子後卻無法繼續執行下去 請問有人能幫忙解決嗎ˊˋ |