1-- PLEASE give me proper quotes if you have any
2
3local l = { "i love x11",
4 "who the hell loves wayland",
5 "i love x.org",
6 "i love x11.fyi",
7 "i hate wayland" }
8if not math.q or #math.q == 0 then
9 math.randomseed(os.time())
10 math.q = {}
11 for i, v in ipairs(l) do math.q[i] = v end
12 for i = #math.q, 2, -1 do
13 local j = math.random(i)
14 math.q[i], math.q[j] = math.q[j], math.q[i]
15 end
16end
17
18return table.remove(math.q)