Pattern:
^aroo$
Script:
local aroo = "A"
local aroo_components = {"a","r","r","r","r","o","o","o","o","o","o","o","o"}
local aroo_length = math.random(25,30)
local last_aroo_change = 0
local next_aroo_change = math.random(1,2)
local current_aroo = "a"
local next_casing_change = math.random(4,6)
local last_casing_change = 0
local aroo_upper = false
while aroo:len() < aroo_length do
if last_aroo_change < next_aroo_change then
last_aroo_change = last_aroo_change + 1
last_casing_change = last_casing_change + 1
if aroo_upper then aroo = aroo .. current_aroo:upper() else aroo = aroo .. current_aroo end
if last_casing_change > next_casing_change then
aroo_upper = not aroo_upper
last_casing_change = 0
next_casing_change = math.random(4,6)
end
else
next_aroo_change = math.random(3,6)
last_aroo_change = 0
local last_aroo = current_aroo
while current_aroo == last_aroo do
current_aroo = aroo_components[math.random(1,#aroo_components)]
end
end
end
echo(aroo:title() .. "!\n")
AaoooorRRRRROOooooaaaOOOOAaaao!
AaoooooOAAAARrrrrrooORRROo!
AarrrRROOOOOrrrrrOOORRRRr!
ArrrrroOOOOAAaaaoooOORRRRr!
ArrroooOAAAOoorrrROOORrrrroOO!
ArrrrooOORRRRRoooorRRROOOo!
AaoooooORRRROoooooRRRRROOooo!
ArrrrrROOOOoorrrrOOORRrrroooo!
ArrrooOOOORrrrooooRRRRRAAaooo!
AaooooRRRRRooooorRRROOorrro!
AoooooORRRROoorrrrROOOOOorrrr!
ArrroOOOOORRrrooooOORRRRRaa!
AooorRROOOrrrroOOOORrrrrrOOOO!
AaooooOOAAAAaooooaaAOOOOoorrr!
AoooooORRRRroooooRRRROOoo!
Comments