/who populate table > print table menu

User Tag List

Results 1 to 6 of 6
  1. #1
    JohnMcCain's Avatar Active Member
    Reputation
    51
    Join Date
    Nov 2008
    Posts
    115
    Thanks G/R
    1/25
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    /who populate table > print table

    Pretty much as the title says, similar concept to my other thread for a /who ALL feature....

    Is it possible to do /who 1

    >run a macro to store this as a list/table,

    /who 2... /who 3... /who etc...

    then for arguments sake, send a whisper/invite to everybody in the list? (No, I'm not planning on being an annoying spammer before you ask!)



    ^if so, please how?
    Youtube: https://www.youtube.com/channel/UCMsm03ETkaHrGj-El2jBEww

    /who populate table > print table
  2. #2
    Trixiap's Avatar Contributor
    Reputation
    218
    Join Date
    Nov 2010
    Posts
    349
    Thanks G/R
    22/18
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are addons for that. Usually focused on automatic guild invite

  3. #3
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I did something similar. A server had hundreds of people in Tanaris so I wrote a script to try and target as many as possible with a spell:

    Code:
    function IncDuration(self, elapsed)
    	dur = dur + elapsed;
    	if dur > 0.01 then
    		local me = UnitName("player")
    
    		if curWho < maxWho then
    
    			TargetUnit(who[curWho])
    			if UnitName("target") then
    				if UnitName("target") ~=  me then
    					CastSpellByName("Crown Parcel Service Uniform")
    				end
    			end
    			curWho = curWho + 1
    		
    		else
    			
    			who_target = who_target + 1
    			if who_target > #classes_who then
    				who_target = 1
    			end
    			who_target_two = who_target + 1
    			if who_target_two > #classes_who then
    				who_target_two = 1
    			end
    			who={}
    			SendWho("z-Tanaris "..classes_who[who_target].." "..classes_who[who_target_two])
    			for i=1,GetNumWhoResults() do
    				n=GetWhoInfo(i)
    				who[i]=n
    			end
    			curWho=1
    			maxWho=#who
    			
    		end
    
    		dur = 0
    	end
    end
    
    who_target = 0
    classes_who = {"c-Mage", "c-Warrior", "c-Druid", "c-Warlock", "c-Priest", "c-Paladin", "c-Hunter", "c-Death Knight", "c-Shaman", "c-Rogue"}
    You can just store the results instead of using them immediately.

  4. #4
    JohnMcCain's Avatar Active Member
    Reputation
    51
    Join Date
    Nov 2008
    Posts
    115
    Thanks G/R
    1/25
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    I did something similar. A server had hundreds of people in Tanaris so I wrote a script to try and target as many as possible with a spell:

    Code:
    function IncDuration(self, elapsed)
    	dur = dur + elapsed;
    	if dur > 0.01 then
    		local me = UnitName("player")
    
    		if curWho < maxWho then
    
    			TargetUnit(who[curWho])
    			if UnitName("target") then
    				if UnitName("target") ~=  me then
    					CastSpellByName("Crown Parcel Service Uniform")
    				end
    			end
    			curWho = curWho + 1
    		
    		else
    			
    			who_target = who_target + 1
    			if who_target > #classes_who then
    				who_target = 1
    			end
    			who_target_two = who_target + 1
    			if who_target_two > #classes_who then
    				who_target_two = 1
    			end
    			who={}
    			SendWho("z-Tanaris "..classes_who[who_target].." "..classes_who[who_target_two])
    			for i=1,GetNumWhoResults() do
    				n=GetWhoInfo(i)
    				who[i]=n
    			end
    			curWho=1
    			maxWho=#who
    			
    		end
    
    		dur = 0
    	end
    end
    
    who_target = 0
    classes_who = {"c-Mage", "c-Warrior", "c-Druid", "c-Warlock", "c-Priest", "c-Paladin", "c-Hunter", "c-Death Knight", "c-Shaman", "c-Rogue"}
    You can just store the results instead of using them immediately.
    Thanks for your reply stoneharry, forgive my lack of knowledge on the subject, but how exactly might I implement this code? Would it make some kind of addon or attach some kind of program to the process?
    Youtube: https://www.youtube.com/channel/UCMsm03ETkaHrGj-El2jBEww

  5. #5
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JohnMcCain View Post
    Thanks for your reply stoneharry, forgive my lack of knowledge on the subject, but how exactly might I implement this code? Would it make some kind of addon or attach some kind of program to the process?
    The code I linked I actually used in an AddOn. It would be quite simple to adapt to what you want to do.

    Judging from your response you will not be able to do this yourself. What do you actually need this for? I might do it tomorrow if there is enough reason for it.

  6. #6
    JohnMcCain's Avatar Active Member
    Reputation
    51
    Join Date
    Nov 2008
    Posts
    115
    Thanks G/R
    1/25
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    The code I linked I actually used in an AddOn. It would be quite simple to adapt to what you want to do.

    Judging from your response you will not be able to do this yourself. What do you actually need this for? I might do it tomorrow if there is enough reason for it.
    It's for a social leveling guild (recruitment), I don't like to bother the guildies with recruitment macros, so I'd rather do one BIG recruitment like once a week or something, you know? I'd really appreciate it if you wouldn't mind - I'm quite happy to try and learn it though, if there are any addon creation guides you know of?
    Youtube: https://www.youtube.com/channel/UCMsm03ETkaHrGj-El2jBEww

Similar Threads

  1. [Lua Script] How to point to players who've been stored in a table?
    By bendaferi in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 03-18-2012, 06:07 PM
  2. who has an sql of the accounts table
    By anonymous23 in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 02-03-2008, 02:13 PM
  3. easter egg on a table
    By Ferriz in forum World of Warcraft Exploration
    Replies: 7
    Last Post: 05-09-2007, 03:23 AM
  4. [Guide] Basic DBC Table Review
    By Fault in forum WoW ME Tools & Guides
    Replies: 4
    Last Post: 12-02-2006, 04:36 AM
  5. Table Of Contents
    By oninuva in forum World of Warcraft Guides
    Replies: 0
    Last Post: 04-23-2006, 01:45 PM
All times are GMT -5. The time now is 11:20 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search