WoWInterface SVN AutoInviteFriends

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 2 to Rev 3
    Reverse comparison

Rev 2 → Rev 3

README.txt
31,6 → 31,9
version, I'll add an interface component to choose the loot type/threshold.
- If someone on your friend list sends you a group invite, it automatically accepts it.
 
Sure, this addon is not for everyone. I find that most of the time, I'm playing on a 1:1 team
with whichever friend happens to be online at the time. This is just a convenience addon
allowing me to do automatically do what I was going to do anyway.
 
--************************************************
-- INSTALLATION
AutoInviteFriends.lua
1,3 → 1,4
-- Version 1.0.1
local frame = CreateFrame("FRAME", "aif_frame");
frame:RegisterEvent("PLAYER_ENTERING_WORLD");
frame:RegisterEvent("FRIENDLIST_UPDATE");
30,13 → 31,14
if (aif_connected == 1) then
if (UnitInParty(aif_name) ~= 1) then
InviteUnit(aif_name)
-- Set the loot type to Free for All
SetLootMethod("freeforall");
end
end
end
 
-- Set the loot type to Free for All
SetLootMethod("freeforall");
 
 
end
 
 
48,8 → 50,6
if (sender == aif_name) then
AcceptGroup()
StaticPopup_Hide("PARTY_INVITE");
else
message(sender);
end
end
end
\ No newline at end of file