做物品並分堆的程式^^


版主: GM Saga

回覆文章
Kimano
中級玩家
中級玩家
文章: 284
註冊時間: 週五 11月 16, 2001 8:00 am

文章 Kimano » 週四 2月 28, 2002 3:27 am

//pos1布匹(或鐵磚)的座標
//pos2自己的座標
//pos3放成品的地方(小包包)
//pos4放成品包包的地方(箱子或背包)
//pos7主包包的左上方
//pos8主包包的右下方
//var1做物品的delay時間
//var5物品的顏色值
//var8目前完成幾件
if wght<80 //把布或鐵拉到自己身上
drag 300 from pos1 to pos2
delay(300)
end if
while getcolorpos[var5,pos7,pos8]>0
drag all from getcolorpos[var5,pos7,pos8] to pos3
delay(300)
var8=var8+1
if var8=100//當做滿100個就把小包包放到大包包
drag all from pos3 to pos4
delay(300)
var8=0//重新計數
end if
wend
sendmacro(熱鍵)//BS or 裁縫的macro
WaitForWghtChange(var1)

=====================================

回覆文章

回到「輔助軟體討論版」

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 3 位訪客