Created
July 14, 2013 01:11
-
-
Save paulkling/5992799 to your computer and use it in GitHub Desktop.
Remove non-noted battlenet friends
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/run for i=1,BNGetNumFriends()do local x,f,m,_,_,_,_,_,_,_,_,_,n=BNGetFriendInfo(i)m=IsModifierKeyDown()if not n then print(m and"Removed:"or"Will remove:",f)if m then BNRemoveFriend(x)end end end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment