[GUILD]Useful info for GuildMaster/Officers about mass kicking,pro/demoting via macro menu

User Tag List

Page 1 of 3 123 LastLast
Results 1 to 15 of 39
  1. #1
    K1boRG's Avatar Contributor
    Reputation
    221
    Join Date
    Sep 2007
    Posts
    638
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [GUILD]Useful info for GuildMaster/Officers about mass kicking,pro/demoting via macro

    [GUILD]Useful info for GuildMaster/Officers about mass kicking,pro/demoting via macro

    Kick all level x-X with one click, modify for your needs:
    Code:
    /run for i=1,GetNumGuildMembers(true) do local name,_,_,level = GetGuildRosterInfo(i); if level >= 1 and level <= 30 then GuildUninvite(name); end end


    Promote level 80's in guild for specific rank (change 3 to rank you want, Guild master starts from 0, officer is 1 and so on...)

    Code:
    /run for i=1,GetNumGuildMembers(true) do local name,_,rank,level = GetGuildRosterInfo(i); if level == 80 and rank > 3 then GuildPromote(name); end end
    Gkick all who are below level X and are below guild rank X (also shows name,level,rank if you use print version):
    Code:
    /run for i=1,GetNumGuildMembers(true) do local name,_,rank,level = GetGuildRosterInfo(i); if level <= 45 and rank > 5 then GuildUninvite(name); end end
    Print version (if you want to see in chat window what will get kicked before you wana execute real script:
    Code:
    /run for i=1,GetNumGuildMembers(true) do local name,_,rank,level = GetGuildRosterInfo(i); if level <= 45 and rank > 5 then print("(" .. name ..") " .. name .. ": ".. rank); end end
    will kick all who are longer then 7 days offline (from guild)
    Code:
    /run if not CanGuildRemove() then return end for i=1,GetNumGuildMembers() do local y,m,d=GetGuildRosterLastOnline(i) print((GetGuildRosterInfo(i)),y,m,d) if y then if y>0 or m>0 or d>7 then GuildUninvite(GetGuildRosterInfo(i)) end end end
    Last edited by K1boRG; 12-26-2010 at 12:37 PM.
    * * * Give +Rep to person who helped you or any other way made you laugh / happy * * *
    * * * Looking for someone who could help with 'good' comments on one YouTube video. - possible reward - PM for more info * * *

    [GUILD]Useful info for GuildMaster/Officers about mass kicking,pro/demoting via macro
  2. #2
    Ultraviolence's Avatar Active Member
    Reputation
    15
    Join Date
    Aug 2008
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very useful, nice work. +Rep

  3. #3
    K1boRG's Avatar Contributor
    Reputation
    221
    Join Date
    Sep 2007
    Posts
    638
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If someone need, I can try make some other type of macro's, post here.
    * * * Give +Rep to person who helped you or any other way made you laugh / happy * * *
    * * * Looking for someone who could help with 'good' comments on one YouTube video. - possible reward - PM for more info * * *

  4. #4
    Ultraviolence's Avatar Active Member
    Reputation
    15
    Join Date
    Aug 2008
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have an idea for some protected lua player functions, but it's kinda sensitive, can I PM you?

  5. #5
    ramble's Avatar Knight-Lieutenant
    Reputation
    29
    Join Date
    Mar 2010
    Posts
    332
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good job

  6. #6
    theonlyjett's Avatar Private
    Reputation
    1
    Join Date
    Nov 2010
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi! I was just looking for a macro that I could use to promote all guildies of one rank to another rank. From rank 8 to rank 7. I tried fiddling with the promoting 80s macro above, but came to realize that I clearly have no idea what I'm doing. While I intend to learn to make better macros and even to learn lua, I kind of need/want very badly this macro for use asap. Also, info to adapt it to going from rank 9 to 8 and 10 to 9 would be very helpful as well.

    Thanks again and good work!

  7. #7
    K1boRG's Avatar Contributor
    Reputation
    221
    Join Date
    Sep 2007
    Posts
    638
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Gkick all who are below level X and are below guild rank X (also shows name,level,rank if you use print version):
    Code:
    /run for i=1,GetNumGuildMembers(true) do local name,_,rank,level =  GetGuildRosterInfo(i); if level <= 45 and rank > 5 then  GuildUninvite(name); end end
    Print version (if you want to see in chat window what will get kicked before you wana execute real script:
    Code:
    /run for i=1,GetNumGuildMembers(true) do local name,_,rank,level =  GetGuildRosterInfo(i); if level <= 45 and rank > 5 then print("("  .. name ..") " .. name .. ": ".. rank); end end
    * * * Give +Rep to person who helped you or any other way made you laugh / happy * * *
    * * * Looking for someone who could help with 'good' comments on one YouTube video. - possible reward - PM for more info * * *

  8. #8
    theonlyjett's Avatar Private
    Reputation
    1
    Join Date
    Nov 2010
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, so I'm not sure why you didn't just give me what I asked, but I'm sure glad you didn't. The print version thing let me test out my changes without screwing things up, lol. So I can write the macro I want myself. Thanks!

  9. #9
    Mpidis's Avatar Active Member
    Reputation
    36
    Join Date
    May 2009
    Posts
    196
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +Rep for the "Print version".

    lul @ rep/posts ratio.

  10. #10
    lushlad's Avatar Active Member
    Reputation
    15
    Join Date
    Mar 2007
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for this info!

    i hoping you can help me with this then! I am trying to remove members who have been offline greater than 28days (or 1month+)

    /run local i=1;while (GetGuildRosterInfo(i) ~= nil) do name, r, ri, l, c, z, n, on = GetGuildRosterInfo(i);if n=="" then if on=="" then y, m, days = GetGuildRosterLastOnline(i);if days > 1 then GuildUninvite(name);end end end i = i + 1;end

    I found this is a page and my scripting knowledge is not the best... it said "it removes people that do not have their guild note filled out and have been offline for X number of days."

    Im gussing removing the "if n=="" is the note, not sure what the "on=="" " is.

    Is there a more simple way todo this?


    At the end of the day.... its night

  11. #11
    Samzonx's Avatar Member
    Reputation
    12
    Join Date
    Jul 2008
    Posts
    35
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lushlad View Post
    Thanks for this info!

    i hoping you can help me with this then! I am trying to remove members who have been offline greater than 28days (or 1month+)

    /run local i=1;while (GetGuildRosterInfo(i) ~= nil) do name, r, ri, l, c, z, n, on = GetGuildRosterInfo(i);if n=="" then if on=="" then y, m, days = GetGuildRosterLastOnline(i);if days > 1 then GuildUninvite(name);end end end i = i + 1;end

    I found this is a page and my scripting knowledge is not the best... it said "it removes people that do not have their guild note filled out and have been offline for X number of days."

    Im gussing removing the "if n=="" is the note, not sure what the "on=="" " is.

    Is there a more simple way todo this?


    Would you look at this i just made a thread about it, i'd also like to create a macro for inactivity kicks, thanks!

  12. #12
    oslofreak's Avatar Corporal
    Reputation
    14
    Join Date
    Dec 2009
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Inactivity mass-kicks would be nice, ye.

  13. #13
    K1boRG's Avatar Contributor
    Reputation
    221
    Join Date
    Sep 2007
    Posts
    638
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Couldn't find right command for inactivity or last online, nor of them work :/
    * * * Give +Rep to person who helped you or any other way made you laugh / happy * * *
    * * * Looking for someone who could help with 'good' comments on one YouTube video. - possible reward - PM for more info * * *

  14. #14
    nightcracker's Avatar Contributor
    Reputation
    102
    Join Date
    Jan 2008
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    API GetGuildRosterLastOnline - WoWWiki - Your guide to the World of Warcraft

    If you need help squeezing it in your macros, I can shorten them a lot.

    ---------- Post added at 05:56 AM ---------- Previous post was at 05:36 AM ----------

    Untested but seems to working. Kicks all members with an inactivity of 30 days and higher(edit "limit" for an other number).

    Code:
    /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
    Print version:
    Code:
    /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 print(n)end end
    Last edited by nightcracker; 12-28-2010 at 12:30 PM.
    Three things are certain,
    Death, taxes and site not found,
    You, victim of one.

  15. #15
    K1boRG's Avatar Contributor
    Reputation
    221
    Join Date
    Sep 2007
    Posts
    638
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Print version doesn't seems to work and kinda risky to use a real amcro. Anyone can find issue with that, couse I havn't previously played with GuildRosterLastOnline :<
    * * * Give +Rep to person who helped you or any other way made you laugh / happy * * *
    * * * Looking for someone who could help with 'good' comments on one YouTube video. - possible reward - PM for more info * * *

Page 1 of 3 123 LastLast

Similar Threads

  1. More Guild/Info For google spreadsheets
    By rickyis911 in forum World of Warcraft General
    Replies: 7
    Last Post: 02-29-2016, 05:45 AM
  2. [Event] Using event for guild rep
    By kozzzan in forum World of Warcraft Guides
    Replies: 0
    Last Post: 02-05-2012, 04:50 AM
  3. Macro halp plz (+rep for useful info :3)
    By Aldun in forum WoW UI, Macros and Talent Specs
    Replies: 3
    Last Post: 02-27-2011, 08:56 AM
  4. Replies: 11
    Last Post: 10-18-2006, 12:23 AM
All times are GMT -5. The time now is 03:01 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search