Is a DYNAMIC table
I write an example of how it should work my script
Lua Code:
local foobar = {
[1] = "Welcome#To#My#World",
[2] = "Secret#To#The#End",
[3] = "My#Little#Universe",
}
function buffscan(x)
local meow = { strsplit("#", foobar[x] }
-- do something
end
local timer = 0
local function onUpdate(self,elapsed)
timer = timer + elapsed
while (timer >= 0.75) do
for x, key in ipairs(foobar) do
buffscan(x)
end
timer = timer - elapsed
end
end
local f = CreateFrame("frame")
f:SetScript("OnUpdate", onUpdate)