推 KEN50091:推一個 10/18 16:40
作者 phire (Immortal Fire) 看板 WOW
標題 Re: [問題] 拍賣的巨集
時間 Sun Oct 18 09:40:53 2009
───────────────────────────────────────
: --
: ※ 發信站: 批踢踢實業坊(ptt.cc)
: ◆ From: 114.32.227.59
: 推 DennyCrane:感恩,我要的就是這個! 10/18 09:47
: 推 xul33:這樣有沒有"直購價不是最低價就下架"的聚集阿 = =? 10/18 10:23
z-17-20-15
/跑 g_b,g_t=9999999,"草原土撥鼠哨" local l,d,b="list","bid"
for i=GetNumAuctionItems(l),1,-1 do
b=select(9,GetAuctionItemInfo(l,i))if b and b>0 and b<g_b
then g_b=b end end QueryAuctionItems(g_t)
1) 找草原土撥鼠哨的最低價
z-17-20-37
/跑 local o,j,h,b,n="owner",GetNumAuctionItems("owner")for i=j,1,-1 do
h=select(11,GetAuctionItemInfo(o,i))
b=select(9,GetAuctionItemInfo(o,i))
n=select(1,GetAuctionItemInfo(o,i))
if not h and g_t==n and b~=g_b then CancelAuction(i)end end
2) 把不是最低價的都下架
按兩下1) 再按一下2)
: 推 k0286:這就是我不想貼這種巨集的原因 10/18 11:02
: → k0286:會出現越來越超脫現實的要求 10/18 11:02
: 推 DennyCrane:沒什麼超脫現實...2F說的那個UI就做得到了... 10/18 11:35
: → DennyCrane:你不想分享也還是有像sphire這樣讓熱心的板友願意,另 10/18 11:42
: → DennyCrane:外k0286真的會就貼出來,不要講那種自私的話。 10/18 11:44
: → DennyCrane:xu133,Auctionator這個UI可以做到你說的。試看看吧。 10/18 11:45
: → Xavy:哈哈哈哈哈 你去看精華區有多少k0286的文吧 10/18 11:57
: → Xavy:UI做得到跟巨集想不想去弄又是另外一回事了 10/18 11:58
: → bcatw763:UI和巨集差太多了吧 200多個字元要做出的東西本來就有所 10/18 12:36
: → bcatw763:限制 /直購價不是最低價就下架 ←寫巨集不是這麼簡單的!! 10/18 12:37
--
Goodman1 http://tinyurl.com/2ag7c7
Goodman2 http://tinyurl.com/2e2p29
Goodman3 http://tinyurl.com/62zcyq
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.32.227.59
※ 編輯: phire 來自: 114.32.227.59 (10/18 15:33)