1. #1
    Mechagnome Luckx's Avatar
    10+ Year Old Account
    Join Date
    Sep 2012
    Location
    Switzerland
    Posts
    715

    Its possible to decline/block battle friend requests without going to Pending tab?

    Its possible to decline/block battle friend requests without going to Pending tab?

    for example i login wow and i see that i got 4 new battle tag friend requests - so i spam some macro 4 times and and my battle tag friend request list becoming empty again.

    (i dont need to delete friends that already on my list, i need delete only battle tag friend requests without reading spam/adversising/harrasments that friend requests contain in request text box)
    Last edited by Luckx; 2014-01-19 at 08:44 AM.

  2. #2
    High Overlord Pelf's Avatar
    15+ Year Old Account
    Join Date
    Mar 2008
    Location
    US-Sargeras
    Posts
    108
    Code:
    /run for f=1,BNGetNumFriendInvites() do local id,n=BNGetFriendInviteInfo(1);print("Declining friend invite from "..n..".");BNDeclineFriendInvite(id) end
    Shiboomi of <Riot> on US-Sargeras

  3. #3
    Epic!
    15+ Year Old Account
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    1,504
    There is a mod called badboy which you can get on curse. automatically blocks gold seller invites etc. also blocks some trade chat spam for you.

  4. #4
    Deleted
    Quote Originally Posted by Pelf View Post
    Code:
    /run for f=1,BNGetNumFriendInvites() do local id,n=BNGetFriendInviteInfo(1);print("Declining friend invite from "..n..".");BNDeclineFriendInvite(id) end
    According to some tests I ran a few weeks ago, the index actually updates as soon as you decline an invite. Your code would thus skip over every second invite.

    Code:
    /run local i={} for f=1,BNGetNumFriendInvites() do local id,n=BNGetFriendInviteInfo(1);print("Declining friend invite from "..n..".");tinsert(i,id) end for _,id in ipairs(i) do BNDeclineFriendInvite(i) end

  5. #5
    High Overlord Pelf's Avatar
    15+ Year Old Account
    Join Date
    Mar 2008
    Location
    US-Sargeras
    Posts
    108
    Would it? I'm always reading the info from the first invite in the list; I'm just doing it NumInvites times.
    Shiboomi of <Riot> on US-Sargeras

  6. #6
    Deleted
    Alright, I'm bad at reading. Yeah, your code is better.

  7. #7
    Mechagnome Luckx's Avatar
    10+ Year Old Account
    Join Date
    Sep 2012
    Location
    Switzerland
    Posts
    715
    Pelf and Treeston Thanks really alot! I tested it, and it worked.I dont need to read spam and harrasments via battle tag friend requests anymore as long this macros will continium working.
    Last edited by Luckx; 2014-01-19 at 05:58 PM.

  8. #8
    High Overlord Pelf's Avatar
    15+ Year Old Account
    Join Date
    Mar 2008
    Location
    US-Sargeras
    Posts
    108
    Hooray! Huzzah!
    Shiboomi of <Riot> on US-Sargeras

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •