• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] Guild Inviter

    Discussion in 'Archives' started by etmawow, Jan 1, 2011.

    Thread Status:
    Not open for further replies.
    1. Mannyste

      Mannyste New Member

      Joined:
      Nov 19, 2010
      Messages:
      133
      Likes Received:
      2
      Trophy Points:
      0
      Si it should look like this?


      Logging.Write("GuildInviting :" + curPerson.Key);
      Lua.DoString("GuildInvite(\"" + curPerson.Key + "\")");
      SendChatMessage("your invite text here" ,"WHISPER",Common,"name of person being invited");
      writeInvitedPerson(curPerson.Value);
      break;
       
    2. UndiluteD

      UndiluteD New Member

      Joined:
      Oct 31, 2010
      Messages:
      389
      Likes Received:
      0
      Trophy Points:
      0
      I believe you would have to replace name of person being inveited with the similar reference used thoughout

       
      Last edited: Feb 11, 2011
    3. Mannyste

      Mannyste New Member

      Joined:
      Nov 19, 2010
      Messages:
      133
      Likes Received:
      2
      Trophy Points:
      0
      i dont know how to do it :SS
       
    4. Anderss87

      Anderss87 New Member

      Joined:
      Sep 1, 2010
      Messages:
      89
      Likes Received:
      0
      Trophy Points:
      0
      I advise everyone using this that when the guild is full (1k members?) i found that about 600 had like 20-30days offline.. so made this little macro to kick them all by macro..

      /run for i=1,GetNumGuildMembers(true) do local years,months,days,hours = GetGuildRosterLastOnline(i); if days >= 10 then local name,rank = GetGuildRosterInfo(i);GuildUninvite(name); end end

      Kicks everyone over 10days offline from guild, regardless off rank(doesnt work if the player has over 1 month offline tho, didnt have anyone but cba :D) just add and months => 1 to that code and it should work
       
    5. Mannyste

      Mannyste New Member

      Joined:
      Nov 19, 2010
      Messages:
      133
      Likes Received:
      2
      Trophy Points:
      0
      this macro didnt work

      /run for i=1,GetNumGuildMembers(true) do local years,months,days,hours = GetGuildRosterLastOnline(i); if days >= 10 then local name,rank = GetGuildRosterInfo(i);GuildUninvite(name); end end

      can you post a working macro?
       
    6. Mannyste

      Mannyste New Member

      Joined:
      Nov 19, 2010
      Messages:
      133
      Likes Received:
      2
      Trophy Points:
      0
      /run local limit=30 for i=1,GetNumGuildMembers(1)do local y,m,d,h=GetGuildRosterLastOnline(i)y,m,d,h,n=y or 0,m or 0,d or 0,h or 0,GetGuildRosterInfo(i)if ((y*12)+m)*30.5+d>=limit then GuildUninvite(n)end end

      This will kick any player 30 day OR MORE offline
       
    7. Newk

      Newk New Member

      Joined:
      Jan 7, 2011
      Messages:
      149
      Likes Received:
      1
      Trophy Points:
      0
      Could you edit it to include rank aswell ?, would be awesum, really looking that kind of macro :D .. dont want to kick officer alt's etc :)
       
    8. Mannyste

      Mannyste New Member

      Joined:
      Nov 19, 2010
      Messages:
      133
      Likes Received:
      2
      Trophy Points:
      0
      Maybe this will work

      Kick any1 over 30 or more days and below a certain rank

      /run local limit=30 for i=1,GetNumGuildMembers(1)do local name,_,rank,y,m,d,h=GetGuildRosterLastOnline(i)y,m,d,h,n=y or 0,m or 0,d or 0,h or 0,GetGuildRosterInfo(i)if ((y*12)+m)*30.5+d>=limit rank > 5 then GuildUninvite(n)end end

      find

      rank = 5

      in the macro and change it to a different rank

      1 GM
      2 officer
      3 ect ect ect
       
    9. micylyb

      micylyb New Member

      Joined:
      Nov 5, 2010
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      It dosnt work :(
       
    10. crack00r

      crack00r Member

      Joined:
      Jan 15, 2010
      Messages:
      697
      Likes Received:
      1
      Trophy Points:
      18
      can anyone may eddit the script and add whisper?

      :)
       
    11. UndiluteD

      UndiluteD New Member

      Joined:
      Oct 31, 2010
      Messages:
      389
      Likes Received:
      0
      Trophy Points:
      0
      Yea lol we need someone!!!
       
    12. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      I would not recommend having the plugin whisper people as well. I got a 3 hour suspension for spamming when I tried that XD .

      I got my guild capped at 1000 in about 16 hrs after sending 1st invites.
      I made a macro that kicks any members that are offline, above a rank and have earned 0 weekly exp.
      This example will kick all ranks higher then rank 2. if you want to change that then change the 2 in r>2

      This macro is responsible for gkicking 200 members instantly. The spam was so massive it lagged my computer for a few seconds


      PHP:
      /run for =1,GetNumGuildMembers() do local n,_,r,_,_,_,_,_,GetGuildRosterInfo(ilocal x GetGuildRosterContribution(i) if == and and ~= 1 then print ('removing '..n..' due to inactivity'GuildUninvite(nend end
       
    13. greaterdeath

      greaterdeath New Member

      Joined:
      Apr 2, 2010
      Messages:
      815
      Likes Received:
      2
      Trophy Points:
      0
    14. UndiluteD

      UndiluteD New Member

      Joined:
      Oct 31, 2010
      Messages:
      389
      Likes Received:
      0
      Trophy Points:
      0
      Not great dosent auto search and invite and you ahve to specifiy search criteria
       
    15. LifeCycle

      LifeCycle New Member

      Joined:
      Feb 3, 2011
      Messages:
      32
      Likes Received:
      0
      Trophy Points:
      0
      I don't think I modified it at all, but when it searches for classes, it gets to "Death Knight" and instead searches "Death Knights" returning zero results. I removed the "s" and it works like a charm now.
       
    16. greaterdeath

      greaterdeath New Member

      Joined:
      Apr 2, 2010
      Messages:
      815
      Likes Received:
      2
      Trophy Points:
      0
      Doesnt seem to work for me. It cannot construct an instance of guildInvite. Anyone know how to fix this?
       
      Last edited: Feb 12, 2011
    17. UndiluteD

      UndiluteD New Member

      Joined:
      Oct 31, 2010
      Messages:
      389
      Likes Received:
      0
      Trophy Points:
      0
      PLease release your version with wispering! Its fine aslong as u dont leave it running 24/7
       
    18. Newk

      Newk New Member

      Joined:
      Jan 7, 2011
      Messages:
      149
      Likes Received:
      1
      Trophy Points:
      0
      Edited it to suit my needs, but THANKS ALLOT highvoltz, first macro I could get to work, I'm not sure how your's is much different from others I've tried, cause as far as i can see they are identical. Anyway, here's my version:

      Will kick if:
      6+days offline,
      Under lvl 10
      Have the rank Peons (the rank of my random 'slaves' ;D )

      REMEMBER TO OPEN GUILD ROSTER AND SORT BY LAST ONLINE (With Offliners @Top)

      If you need to play arround with who it will kick with different setting's, just remove "GuildUninvite(n)" and it will just print the name's of the those it intend's to kick.
      Credit mostly goes to HighVoltz for the macro.
       
    19. fff4234

      fff4234 New Member

      Joined:
      Nov 17, 2010
      Messages:
      24
      Likes Received:
      0
      Trophy Points:
      1
      Whisper

      Add this line to Whisper be sure to change the message:
      Code:
      Lua.DoString(String.Format("SendChatMessage('{0}', 'WHISPER', nil, '{1}')", Lua.Escape("[B]CHANGE THIS MESSAGE[/B][B]"[/B]), Lua.Escape(curPerson.Key)));
       
    20. crack00r

      crack00r Member

      Joined:
      Jan 15, 2010
      Messages:
      697
      Likes Received:
      1
      Trophy Points:
      18
      where to add this?
      There isnt any whisper in the script :((
       
    Thread Status:
    Not open for further replies.

    Share This Page