查看: 2863|回覆: 1

有關 跟隨巨集

[複製連結]
有關 跟隨巨集
2011-11-16 10:58:39 1樓
1 2863

3

主題

62

回覆

4

積分

Lv.10 見習生

積分
4
藍鑽
0
GP
0

夢遊FB臉書紀念章

發表於 2011-11-16 10:58:39 | 顯示全部樓層 |閱讀模式
有關 跟隨巨集
求問 跟隨及被跟隨的人物名要放在那裡
謝謝
#find master
automacro findMaster {
  timeout 3
  console /^I lost my master/
  call {
  $master = @config (followTarget)
  do pm "$master" x $.map $.pos
  }
}
automacro findMaster2 {
  timeout 3
  console /^Calculating route to find master/
  call {
  $master = @config (followTarget)
  do pm "$master" x $.map $.pos
  }
}
#goto master
automacro gotoMaster {
  pm /x (.*) (.*) (.*)/
  call {
  $pm = $.lastpm
  if ($pm != $master) stop
  do move $.lastMatch1 $.lastMatch2 $.lastMatch3
  }
}
#when master is found
automacro foundMaster {
  console /^Found my master!/
  call {
  do pm "$master" clear
  }
}




跟隨

#Slave Macro
################################
######FIND MASTER###############
################################
#find master
automacro findMaster {
  timeout 4
  console /I lost my master/
  call {
  $master = @config (followTarget)
  do pm "$master" Where are you?
  }
}
automacro findMaster2 {
  timeout 4
  console /Calculating route to find master/
  call {
  $master = @config (followTarget)
  do pm "$master" Where are you?
  }
}

#goto master
automacro gotoMaster {
  pm /at (.*) (.*) (.*)/
  call {
  $pm = $.lastpm
  if ($pm != $master) stop
  do move $.lastMatch1 $.lastMatch2 $.lastMatch3
  }
}

#when master is found
automacro foundMaster {
  console /Found my master/
  call {
  do pm "$master" I found
  }
}
發文隨機獎勵事件感謝你與大家一起交流!這次未能抽中獎品,但有你參與的討論區,總能多一份精彩!
活動說明

網友還看了什麼

本板近期熱門文章
2012-5-3 23:27:27 2樓

3

主題

41

回覆

7

積分

Lv.10 見習生

積分
7
藍鑽
0
GP
0

夢遊FB臉書紀念章

發表於 2012-5-3 23:27:27 | 顯示全部樓層
回復 1# ks9sov


    #find master   <<<===這個是打手
automacro findMaster {
  timeout 3
  console /^I lost my master/
  call {
  $master = @config (followTarget)
  do pm "$master" x $.map $.pos
  }
}
automacro findMaster2 {
  timeout 3
  console /^Calculating route to find master/
  call {
  $master = @config (followTarget)
  do pm "$master" x $.map $.pos
  }
}
#goto master
automacro gotoMaster {
  pm /x (.*) (.*) (.*)/
  call {
  $pm = $.lastpm
  if ($pm != $master) stop
  do move $.lastMatch1 $.lastMatch2 $.lastMatch3
  }
}
#when master is found
automacro foundMaster {
  console /^Found my master!/
  call {
  do pm "$master" clear
  }
}




跟隨

#Slave Macro <<==這個是補師
################################
######FIND MASTER###############
################################
#find master
automacro findMaster {
  timeout 4
  console /I lost my master/
  call {
  $master = @config (followTarget)
  do pm "$master" Where are you?
  }
}
automacro findMaster2 {
  timeout 4
  console /Calculating route to find master/
  call {
  $master = @config (followTarget)
  do pm "$master" Where are you?
  }
}

#goto master
automacro gotoMaster {
  pm /at (.*) (.*) (.*)/
  call {
  $pm = $.lastpm
  if ($pm != $master) stop
  do move $.lastMatch1 $.lastMatch2 $.lastMatch3
  }
}

#when master is found
automacro foundMaster {
  console /Found my master/
  call {
  do pm "$master" I found
  }
}




  沒記錯應該是這樣!!
發文隨機獎勵事件感謝你的寶貴發言!很遺憾這回沒有抽中獎品,但你的想法讓討論更完整,謝謝你的貢獻!
活動說明
阿年
回覆

使用道具 舉報

回覆

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

本版積分規則

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

在本版發文
返回頂部