possible? menu

User Tag List

Thread: possible?

Results 1 to 4 of 4
  1. #1
    Luciferozzy's Avatar Member
    Reputation
    2
    Join Date
    Apr 2011
    Posts
    81
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    possible?

    Is it possible to make a function that runs thru the raidsroster and see how many got a specifik buff ?

    possible?
  2. #2
    akeon1's Avatar Contributor
    Reputation
    103
    Join Date
    Sep 2011
    Posts
    265
    Thanks G/R
    3/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am fairly certain the answer to your question is yes.

    I personally lack the skill set to help.

    Try joining the irc channel - someone there will be able to help

  3. #3
    zeldaboch's Avatar Member
    Reputation
    1
    Join Date
    Apr 2013
    Posts
    52
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Luciferozzy View Post
    Is it possible to make a function that runs thru the raidsroster and see how many got a specifik buff ?
    Did you find a solution?

  4. #4
    Mirakuru's Avatar Corporal
    Reputation
    26
    Join Date
    Nov 2014
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's very fairly basic..

    Code:
    function buffFinder(buff)
    	local count = count or 0
    	local limit = GetNumGroupMembers()
    	if tonumber(buff) then buff = GetSpellInfo(buff) end
    	for i=1,limit do
    		if UnitBuff(("raid%d"):format(i),buff) then count = count+1 end
    	end
    	return count
    end
    Plug in a Spell ID, it will convert it to a name and look it up, or you can directly use a name. If you abuse the function too much though it might lag down your game if you're in a large raid.

Similar Threads

  1. Possible ideas to get users to register..
    By Matt in forum Suggestions
    Replies: 15
    Last Post: 08-22-2006, 09:36 AM
  2. Any possible way to trade item/gold with a free trial?
    By RichyG in forum World of Warcraft General
    Replies: 0
    Last Post: 07-26-2006, 03:59 PM
  3. Is it possible to set up glider to only pick up certain fish?
    By RichyG in forum World of Warcraft General
    Replies: 1
    Last Post: 07-15-2006, 06:36 PM
  4. Possible Model Editting (1.11) ?!
    By nobodyzero in forum World of Warcraft Exploits
    Replies: 9
    Last Post: 07-14-2006, 11:47 AM
  5. possible Gold Dupe
    By Jboz in forum World of Warcraft Exploits
    Replies: 15
    Last Post: 06-10-2006, 05:15 PM
All times are GMT -5. The time now is 10:23 PM. 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