Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TSM = select(2, ...)
- local Util = TSM:NewModule("Util")
- function Util:CheckTabAndGuild(Item)
- local Guild
- local Tab
- local ops = TSMAPI:GetItemOperation(TSMAPI:GetItemString(Item), "GuildSorter")
- print(ops)
- if (ops) then
- for _, operationName in pairs(ops) do
- TSMAPI:UpdateOperation("GuildSorter", operationName)
- Tab = TSM.operations[operationName].GBankTab
- Guild = TSM.operations[operationName].GBank
- print("Util "..Guild.." "..tostring(Tab))
- break
- end
- return Guild, Tab
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement