方式一


首先先去下載最新版的OP主程式

然後把你自己已經寫好的CONTROL覆蓋進去

注意:config裡面要自行加入以下幾行

------------------------------以下------------------------------
storageAuto_useChatCommand
npcTimeResponse
sitAuto_look_from_wall
saveMap_warpChatCommand
dcOnMaxReconnections
repairAuto 1
repairAuto_list 0
removeActorWithDistance
------------------------------以上------------------------------
------------------------------以下是巨集-----------------------
#####
automacro repair {
        pubm /修/
        call {
                do sp 108 $.lastpub 1
                release all
                stop
        }
}

automacro repairfail {
        console /施法失敗/
        call {
                do c 沒壞裝或沒材料喔
        }
}


 


----------------------------------------------------------------------------------------------------------------


方式二(艾爾貝塔)


automacro AutoRepair1 {
 
        inventory "BROKEN +5 歐羅萊昂的鐵盤 [突變蛙卡片] [1]" == 1
 
        inventory "BROKEN 聖職之衣 [大嘴鳥卡片] [1]" == 1
 
        inventory "BROKEN +5 首領之劍 [名弓5Lv*2]" == 1
 
        run-once 1
 
        call {
 
                pause 1
 


                #aldeba_in 38 60 修理工
 
                do move 24 58 alberta_in
 


                pause 1
 
                do talknpc 31 65 c r0 c r0 c
 
                release all
 
        }
}
 



automacro AutoRepair2 {
 
        inventory "BROKEN 聖職之衣 [大嘴鳥卡片] [1]" == 1
 
        run-once 1
 
        call {
 
                pause 1
 


                #aldeba_in 38 60 修理工
 
                do move 24 58 alberta_in
 


                pause 1
 
                do talknpc 31 65 c r0 c r0 c
 
                release all
 
        }
}
 


-------------------------------------------------------------------------------------------------------------------------


由sofax222大大提供分享並說明,只要其中一個壞了就會獨發巨集的執行,


automacro AutoRepair1 {
        inventory "BROKEN +5 歐羅萊昂的鐵盤 [突變蛙卡片] [1]" == 1, "BROKEN 聖職之衣 [大嘴鳥卡片] [1]" == 1, "BROKEN +5 首領之劍 [名弓5Lv*2]" == 1
 
        run-once 1
        call {
                pause 1        
                #aldeba_in 38 60 修理工
                do move 24 58 alberta_in         
                pause 1
                do talknpc 31 65 c r0 c r0 c
                release all
        }
}

創作者介紹
創作者 aaa1314 的頭像
aaa1314

RO相關資料資訊♂外掛腳本討論&請勿發表其他廣告(請保持畫面清爽)感謝

aaa1314 發表在 痞客邦 留言(0) 人氣()