好友版:/run local t,n,c={};for i=1,GetNumFriends() do n,_,_,_,c=GetFriendInfo(i)if c then table.insert(t,n)end end;if t[1]then n=t[random(#t)]InviteUnit(n)SendChatMessage("我在用回城宏,如果不在队伍里请点拒绝","whisper",nil,n)LeaveParty()end;公会版:/run local t,n,c={};for i=1,GetNumGuildMembers() do n,_,_,_,_,_,_,_,c=GetGuildRosterInfo(i)... |