[config.txt] 
facecharA 1 
#你要打怪的人物位置 
 
facecharB 0 
#被人孔時所要切人物位置  
#人物開聊天室等待的地圖方吉芬 請務必開至吉芬 
 
faceTime 180 
#被人孔時 切換人物所要等待的秒數 
 
logPartyChat 1 
logGuildChat 1 
#這2個打開設定1 
 
[macros.txt] 
 
automacro facePlayer { 
        console /(.*) (.*) \((.*)\) is casting 人孔 on location \(([\d| |,]+)\) / 
 
    run-once 1 
        exclusive 1 
        call { 
        $map = $.map 
        $facePlayerB = $.lastMatch2 
        $facePlayerD = $.lastMatch4 
 
        release facePlayer 
        stop 
    } 
 
} 
 
 
 
automacro face { 
 
    status EFST_MANHOLE 
    run-once 1 
        exclusive 1 
 
        call { 
        $facechar = @config (facecharB) 
        do conf char $facechar 
        do charselect 
        release face 
        stop 
    } 
} 
 
 
automacro boring { 
    location geffen 
    run-once 1 
        exclusive 1 
    call { 
        $facechar = @config (facecharA) 
        $faceTime = @config (faceTime) 
         
        if ($facePlayerB == "") goto end 
         
        do p $facePlayerB 使用 人孔 在 $map($facePlayerD) 
        pause 1 
        do g $facePlayerB 使用 人孔 在 $map($facePlayerD) 
         
        pause 5 
        log ---------------------------- 
        log --- $facePlayerB 使用 人孔 在 $map($facePlayerD) 
        log --- 將於 $faceTime 秒後切換回           
        log ---------------------------- 
        do chat create "$facePlayerB $map ($facePlayerD)" 2 0 5566 
        pause $faceTime 
        do conf char $facechar 
        pause 1 
        do chat leave 
        pause 1 
        do charselect 
        pause 3 
         
        do p $facePlayerB 使用 人孔 在 $map($facePlayerD) 
        pause 1 
        do g $facePlayerB 使用 人孔 在 $map($facePlayerD) 
        pause 1 
         
        release boring 
        stop 
         
        :end 
        pause 5 
        log ---------------------------- 
        log --- 沒有人孔ID,將於5秒後切換回人物位置 $facechar 
        log ---------------------------- 
        do conf char $facechar 
        pause 1 
        do charselect 
        pause 3 
        release boring 
        stop 
    } 
} 
 |