First thing

  • FTB will be shutting down this forum by the end of July. To participate in our community discussions, please join our Discord! https://ftb.team/discord

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
--one day it will print out the correct word, right?
local characters={"l","e"}
local testString=""
local notDone=true
while notDone do
for i=1,3 do
testString=testString..characters[math.random(2)]
end
if testString=="lel" then
notDone=false
else
print(testString)
testString=""
end
end

edit, with my interpreter if I don't change the seed it succeeds at its first try >_<