Skip to content

Instantly share code, notes, and snippets.

@kemayo
Created July 6, 2013 07:24
Show Gist options
  • Save kemayo/5939099 to your computer and use it in GitHub Desktop.
Save kemayo/5939099 to your computer and use it in GitHub Desktop.
local is_cloth = function(itemid, bag, slot) return select(7, GetItemInfo(itemid)) == "Cloth" end
SlashCmdList["MOVECLOTH"] = = BankStack.CommandDecorator(function(from, to)
BankStack.Stack(from, to, is_cloth)
BankStack.Fill(from, to, false, is_cloth)
end, "bags bank", 2)
SLASH_MOVECLOTH1 = "/movecloth"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment