《魔兽世界》4.1版本 地精玩家实用宏分享
一、全自动喊话宏
/script t,f=t or 0,f or createframe("frame")if x then x=nil else x=function()local t=gettime()if t-t>70 then sendchatmessage("交易频道的喊话词","channel",nil,2)t=t end end end f:setscript("onupdate",x)
功用:在交易频道每隔70秒喊话一次,按一次开始,再按一次停止喊话。
这个宏容易超长,解决办法是做成两个宏或者用一些专用插件。
/run ps="交易频道的喊话词";sc=sendchatmessage;
/run t,f=t or 0,f or createframe("frame")if x then x=nil else x=function()local t=gettime()if t-t>70 then sc(ps,"channel",nil,2)t=t end end end f:setscript("onupdate",x)
最新的魔兽游戏币交易、魔兽游戏币出售、魔兽游戏币求购尽在专业玩家网!
二、物品链接喊话宏
/run local a,a=getiteminfo(xxx);local b,b=getiteminfo(yyy);local c,c=getiteminfo(zzz)sendchatmessage("收购:"..a.."220g/组~"..b.."110g/组~"..c.."110g/组~零售亦可,欢迎邮寄","channel",nil,2)
功用:在交易频道贴出xxx、yyy、zzz三个id的物品链接来叫卖(查看物品id的插件必备)。
三、取消拍卖宏
/run local n=getnumauctionitems("owner") for i=n,1,-1 do local p=select(10,getauctioniteminfo("owner", i));if p==0 then cancelauction(i) end end
功用:将未被竞标的物品全部取消拍卖。
四、自动举报牛肉宏
/run local t,l={"淘寶","純手工","牛肉","牛丸","月饼","季饼"} sr=sr or 0 if sr<1 then chatframe_addmessageeventfilter("chat_msg_channel",function(_,_,m,n) for _,w in pairs(t) do if strfind(m,w) and n~=l then complainchat(n,m) l=n return end end end) sr=1 end
功用:举报并临时屏蔽带上面关键词的喊话人^_^好狠。
魔兽世界游戏币查询,请关注专业玩家网比价器,全新改版,为您提供更准确的游戏币价格。
五、自动选矿宏
/cast 选矿(研磨、分解等)
/use xx矿
/use yy矿
功用:点一下分解一次包内指定名字的矿和物品。