仙境傳說|RO私服

 找回密碼
 註冊
搜索
熱搜: 活動 交友 discuz
查看: 9802|回復: 27
打印 上一主題 下一主題

聊天室收購腳本

[複製鏈接]
跳轉到指定樓層
1#
不死團 發表於 2011-2-1 15:06:19 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
大家好,我轉貼一個朋友給我的聊天室收購腳本,這個腳本是可以讓跑馬燈收物 + 收數量型物品(如:白水,材料) + 自動存倉(需配合其他文件)
+ 收抽獎用卡片!!!(還排除npc不收的喔) + 自動招呼客人 + 記錄下所有交易狀況(log資料夾)+ 隨時可觀看收了多少,超級好用喔!!也祝大家新年快樂!!年年有餘~


automacro asw {
      console /您現在已在遊戲中/
      call {
if ($online = 1) goto out
$online = 1
pause 1
call start
pause 1
stop
ut
do quit
}
}

macro start {
$P1 = 10
#收濃神
$P2 = 10
#收濃鋁

$no = 0
#交易次數
$dealout = 0
#亂小次數

do chat create "準備中..." 2 0 @eval($x - @rand(1000,9999))
call start1
}



macro start1 {
log $dealout亂/$no次(神$P1 鋁$P2)
pause 1
do chat modify "交易$no次 搗蛋失敗$dealout次" 2 0 @eval($x - @rand(1000,9999))
log "交易$no次 搗蛋失敗$dealout次"
pause 1

do chat modify "收濃神($P1箱)" 2 0 @eval($x - @rand(1000,9999))
log "收濃神($P1箱)"
pause 1
do chat modify "收濃鋁($P2箱)" 2 0 @eval($x - @rand(1000,9999))
log "收濃鋁($P2箱)"
pause 1

call start1
}


automacro b {
      console /(.*) ((.*)) 向您要求一個交易/
run-once 1
      call {
$dealco = 0
$no = @eval($no + 1)
do conf logConsole 1
pause 1
          do deal
          pause 15
#15秒內不動作取消交易
log 來亂的人
$dealout = @eval($dealout + 1)
          do deal no
          stop
      }
}



automacro Deal1 {
        console /[deal](.*)加入物品以交易: 濃縮神之金屬箱子 x 1/
        call {  
if ($P1 = 0) goto stop1
    $asd = 1
    $dealco = @eval($dealco + 4400000)
            #do deal add z 5500000
    #pause 1
            #do deal
call Deal15no
stop
:stop1
do deal no
call start1
stop
            }
}
automacro Deal2 {
        console /[deal](.*)加入物品以交易: 濃縮鋁箱子 x 1/
        call {
if ($P2 = 0) goto stop2
    $asd = 1
    $dealco = @eval($dealco + 4800000)
            #do deal add z 6000000
    #pause 1
            #do deal
call Deal15no
stop
:stop2
do deal no
call start1
stop
            }
}



automacro Dealok1 {
        console /[drop] 物品已加入背包: 濃縮神之金屬箱子(.*)x(.*)-(.*)/
        call {
$P1 = @eval($P1 - $.lastMatch2)
release all
do conf logConsole 0
call start1
    }
}

automacro Dealok2 {
        console /[drop] 物品已加入背包: 濃縮鋁箱子(.*)x(.*)-(.*)/
        call {
$P2 = @eval($P2 - $.lastMatch2)
release all
do conf logConsole 0
call start1
    }
}



##以下不用調整 ==============================================
automacro FinDeal {
        console /[deal](.*)完成了本交易/
    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
    }
}

automacro Dealok {
        console /(.*)交易完成/
    run-once 1
        call {
do conf logConsole 0
call start1
    }
}

遊客,如果您要查看本帖隱藏內容請回復
2#
jie5828 發表於 2011-2-3 16:49:26 | 只看該作者
謝謝大大囉~
正在想怎ㄇ半
3#
odinod 發表於 2011-3-19 21:01:22 | 只看該作者
感謝大大分享 感激不盡
4#
e604057 發表於 2011-5-2 19:43:22 | 只看該作者
感謝大大~非常的需要這種東西
5#
tiki 發表於 2011-9-18 20:13:41 | 只看該作者
感謝分享ˇ

謝謝大大
6#
xeasy2001 發表於 2012-2-16 22:45:45 | 只看該作者
回復 1# 不死團


    試看看可不可以用^^謝謝
7#
wanafly 發表於 2012-3-7 00:35:19 | 只看該作者
謝謝唷~
8#
wsod 發表於 2013-1-23 12:20:29 | 只看該作者
回復 1# 不死團

收購腳本
非常方便的東西
感謝分享
9#
64005 發表於 2013-2-4 15:35:34 | 只看該作者
jie5828發表於 2011-2-3 16:49
謝謝大大囉~
正在想怎ㄇ半
10#
weakpeople 發表於 2013-2-10 12:16:15 | 只看該作者
我這個找好久了,終於看到了!!謝謝大大的分享
11#
lyhh563474 發表於 2013-3-2 14:03:41 | 只看該作者
謝謝大大分享!!尋找已久囉xdd
12#
autobot 發表於 2014-1-12 10:14:37 | 只看該作者
收看麻.............................
13#
lucky985236 發表於 2014-3-15 16:19:11 | 只看該作者
正好需要此腳本  thx
14#
85203115 發表於 2014-5-19 19:28:22 | 只看該作者
剛好有需要這腳本 謝謝大大的文章囉
15#
smile_30074 發表於 2014-6-15 02:51:16 | 只看該作者
神啊...感謝您!!最近正好想換卡片
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

小黑屋|手機版|Archiver|仙境傳說|RO私服

GMT+8, 2024-4-25 21:02 , Processed in 0.309331 second(s), 17 queries .

快速回復 返回頂部 返回列表