Advertisement
Guest User

MMF ignore function

a guest
Nov 1st, 2017
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. function ignorelist2()
  2. local t = {}
  3. local count = 0
  4.  
  5. local skip
  6. for k,v in pairs(dict) do
  7. for balance, _ in pairs(v) do
  8. if not v.aff then skip = true end
  9. end
  10.  
  11. if not skip then t[#t+1] = k end
  12. skip = false
  13. end
  14. table.sort(t)
  15. --echof("Things we can ignore:") echo" "
  16.  
  17. for _, name in ipairs(t) do
  18. --echo(string.format("%-20s", name))
  19. expandAlias("mmignore " ..name)
  20. deleteLine()
  21. --count = count + 1
  22. --if count % 4 == 0 then echo "\n " end
  23.  
  24. end
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement