Skip to content

Instantly share code, notes, and snippets.

@Neppord
Created February 8, 2011 12:57
Show Gist options
  • Save Neppord/816402 to your computer and use it in GitHub Desktop.
Save Neppord/816402 to your computer and use it in GitHub Desktop.
my wow macrofile
/script
if GetMerchantNumItems()>0 then
for b= 0,4,1 do
for s = 1,GetContainerNumSlots(b),1 do
local n = GetContainerItemLink(b,s);
if n and n:find("ff9d9d9d") then
DEFAULT_CHAT_FRAME:AddMessage("selling:"..n);
UseContainerItem(b,s)
end;
end;
end;
end
/script for b=0,4,1 do for s=1,GetContainerNumSlots(b),1 do local id=GetContainerItemID(b,s);if id~=nill then t,l,r,t,t,t,t,t,t,t,p=GetItemInfo(id);if r==2 then UseContainerItem(b,s);StartAuction(p*4-1,1,4) end;end;end;end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment