查看: 2451|回覆: 0

巨集問題 求高手幫解

[複製連結]
巨集問題 求高手幫解
2013-6-18 14:21:54 1樓
0 2451

4

主題

298

回覆

52

積分

Lv.20 天使

積分
52
藍鑽
1
GP
0

夢遊FB臉書紀念章註冊邀請認證

發表於 2013-6-18 14:21:54 | 顯示全部樓層 |閱讀模式
我是開打擊強化輔助 用表情符號觸動 可是我一做表情符號就出現下面這行,
[macro] automacro mac triggered.
無法使用技能打擊強化,已執行3次





以下是巨集腳本,求高手幫解



automacro autoCancel {
        console /(.*) Cancel Chat/
        exclusive 1
        run-once 1
        call {
                $login = 1
                log $.lastMatch1
        pause 1
        do talk resp $.lastMatch1
        release all
        }
}

automacro mac {

         console /\[(距離|dist)=(.*)\] (.*) \((\d+)\): \*(感謝)\*$/  
         表情可以改 但是要跟下面巨集同步
        # 操作視窗出現下列表情符號時

         call {

         if ($.lastMatch2 < 3) goto help

         stop



         :help

         $i = $.lastMatch4

         $g = @eval (exists $::players{$::playersID[$i]}->{guild} ? $::players{$::playersID[$i]}->{guild}{name} : 'null')





         #if ("$.lastMatch3" == "黑名單人物") goto stop

         #if ("$.lastMatch3" == "允許使用的角色ID") goto ok
         #if ("$.lastMatch3" == "允許使用的角色ID") goto ok   
         #if ("$.lastMatch3" == "允許使用的角色ID") goto ok     
         #if ("$.lastMatch3" == "允許使用的角色ID") goto ok     

         #if ("$g" == "允許使用的公會名稱") goto ok


         stop



         :ok

                if ($.lastMatch5 == "感謝") goto fist


         :fist

                do sp 2451 $.lastMatch4 10

                pause 0.3

                stop

         :stop

                stop

         }

}



automacro pubmguild {

         console /\[(距離|dist)=(.*)\] (.*) \((\d+)\): (9)/
         喊甚麼放護貝可以改 但請與下面巨集同步

         call {

         $i = $.lastMatch4

         if ($.lastMatch2 > 2) goto stop

         $g = @eval (exists $::players{$::playersID[$i]}->{guild} ? $::players{$::playersID[$i]}->{guild}{name} : 'null')

         if ("$d" >  3 ) goto stop
         #if ("$.lastMatch3" == "黑名單人物") goto stop

         #if ("$.lastMatch3" == "允許使用的角色ID") goto ok  
         #if ("$.lastMatch3" == "允許使用的角色ID") goto ok   
         #if ("$.lastMatch3" == "允許使用的角色ID") goto ok   

         #if ("$g" == "允許使用的公會名稱") goto ok

         stop



         :ok

                 if ($.lastMatch5 == "9") goto mac01


                 stop


         :mac01

                do sp 403 $i 10

                pause 0.3

                stop



        :stop

        stop

         }

}

發文隨機獎勵事件感謝你的用心回文!可惜本次沒有中獎,但願你的每一次交流,都能收穫新的知識與友誼!
活動說明

網友還看了什麼

本板近期熱門文章
回覆

使用道具 舉報

回覆

0
您需要登入後纔可以回覆 登入 | 加入會員

本版積分規則

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版發文
返回頂部