从NGA搬运过来的希望能解决你的问题,具体请参考
bbs.ngacn.cc/read.php?tid=2749277
聊天窗口的问题,于acutioneer无关吧
-- 关于一键取消宏(以下内容摘自地精版若干帖子):
/run local o,j,h,t="owner",GetNumAuctionItems("owner")for i=j,1,-1 do h,t=select(11,GetAuctionItemInfo(o,i)),GetAuctionItemTimeLeft(o,i)if not h and t and t==1 then CancelAuction(i)end end
-- 这个应该是你要的,只取消没有人出价,并且时间为短的商品
-- t==1是指时间要是"短",可以用 t>3 或其他条件
-- ( 短=1,中=2,长=3,非常长=4 )
-- 看得懂lua的朋友可以自己变化,只是简单的 GetNumAuctionItems() GetAuctionItemTimeLeft() GetAuctionItemTimeLink() 过滤而已.
/run local j,h=GetNumAuctionItems("owner")for i=j,1,-1 do _,_,_,_,_,_,_,_,_,_,h=GetAuctionItemInfo("owner",i)if not h then CancelAuction(i)end end
-- 这一行是取消所有尚未被出价的拍卖用的宏. 要带入其他条件的话(比方只留同种商品2件,其余取消,或判断个案物品),宏就写不下了.
-- 做铭文的朋友请小心使用,数百上千笔一次取消会要等上一阵子才能全部取消完成,在没全取消完成前,基本都会很卡.