Crazy Mini Random Letter Maker

Run some MiniScript code right in your browser!

//This program try to print a random letter... yes = "" nomes = ["Davi", "Trump", "Anonymous", "Harry Potter", "Gumball", "Mattis", "Chicken Little", "Snoopy", "Charlie Brown"] rand = floor(rnd*3) while yes.upper != "YES" nome = input("What's your name?") comf = input("So your name is " + nome + "?") yes = comf end while rem = nomes[rnd * nomes.len] print "I brought a letter for you. It's from... " + rem + "." print "You open the letter and you read..." if rand == 0 then print "Dear " + nome + ", i'm sending this letter to say..." else if rand == 1 then print "Hey, you! " + nome + ", you cheater!!" print "Yeah, i'm sending this letter just to say..." else if rand == 2 then print "Hello, " + nome + "! I'm just sending this letter to" print "remember you that..." else if rand == 3 then print "I'm giving up sending letters to you. You never reply it!" print "Ah, more a thing:" end if rand = floor(rnd*4) if rand == 0 then print "I'm going to kill you! I never forgot that day when..." else if rand == 1 then print "I'll visit you today, later. Maybe at night." print "Ah, i remember that day when..." else if rand == 2 then print "I'm going to be crazy! Everytime i remember" print "that morning, when..." else if rand == 3 then print "You know, that thing..." else if rand == 4 then print "You crashed my car! And i still remember when..." end if rand = floor(rnd*5) if rand == 0 then print "when you stole my lollipop!" else if rand == 1 then print "you must to know what." else if rand == 2 then print "you locked me in the bathroom!" else if rand == 3 then print "you broken my computer!" else if rand == 4 then print "you gave me a PlayStation 4!" else if rand == 5 then print "you ate my broccoli!" end if print "Waiting for a answer." print "Cheers," print " " + rem

Help & Information