Quantcast WoWInterface - View Single Post - How to make a visible window? image link in disc
View Single Post
02-21-17, 09:51 AM   #16
wille480
A Wyrmkin Dreamwalker
Join Date: Jan 2017
Posts: 56
Originally Posted by Fizzlemizz View Post
Lua Code:
  1. for key, value in pairs(debuffs) do
  2.     local name, _, _, _, _, duration, expires = UnitDebuff("raid1", value)
  3.     -- do whatever here
  4. end

does an unordered loop throught the table.
Ah okey thank you! , i always imagine doing a foor loop like.


For i=0, 2 do

local name, _, _, _, _, duration, expires = UnitDebuff("raid1",debuffs[i])
  Reply With Quote