The Underscorian Random Sentence Generator 🟥

image

THE UNDERSCORIAN RANDOM SENTENCE GENERATOR :jigsaw:

Hello! Today… I have a simple random sentence generator guide… which is beginner friendly.

BRIEF INTRODUCTION/EXPLANATION :scroll:

For this random sentence generator, I’ll be using the pronoun verb noun method, which is quite simple. Basically, there are 9 properties, made up of 3 pronoun properties, 3 verb properties, and 3 noun properties. NOTE THAT THE PRONOUNS WILL BE NOUNS (I know I sound like I never spoke English lol but for this system I be calling some nouns “pronouns” because it’s just the defining noun)

Here’s a list:

Pronouns:
pronoun1
pronoun2
pronoun3
Verbs:
verb1
verb2
verb3
Noun:
noun1
noun2
noun3

And, you can mix 'n match whatever you want, but for this tutorial I’ll be doing…

Pronouns:
pronoun1 - The dog
pronoun2 - The alien
pronoun3 - The penguin
Verbs:
verb1 - ate
verb2 - hugged
verb3 - replied to
Noun:
noun1 - Stitch
noun2 - a penguin
noun3 - a beehive

So… without further ado, let’s get into it!

Step 1: The Properties

So, there are 9 properties in total, which should be named like [type of word]+ [number]. The value of the properties are text, which is WHAT the word is.

I have mine with labels, like this.

image

(NOTE THAT THE CODE IS INACTIVE.)

Alright… perfect! Now, let’s make this function!

Now, add a button with the settings:

Button message: "Generate Random Sentence"
When button pressed, broadcast: "generatesentence"

image

Perfect!

Now, add a notification device with the settings:

Notification title: [anything you want!]
LEAVE THE CONTENT BLANK!

Now, open a new block as such, running on “generatesentence”:
image

Alright… we’re on to the block code now!

Step 2: The block code

Feel free to just copy my block code, or, read more in-depth with an explanation.

image

So, basically, we are randomizing each type of word and combining it with the other words. We will not use the same random value for each, which is what I would reccomend because the number of possible sentences triples.

Anyways, that’s all, tell me how you do, or what random words you chose!

image

Here’s mine!

(don’t mind the extra notification, this was a mistake when I first tested)

I'll be lucky enough one day for the sentence to be "The penguin eats a penguin" lol

EXTRAS

Here are some fun ways I use this in my game:
  • An RPG character creates a random quest. (Try adding mechanics like that, I don’t have the energy to make the random sentence correspond with certain actions)
  • Possibly some sort of wild card action in a random events game.

Come up with some more of your own!


Happy Gimkitting! Hope you use this in your game! đź‘‹

14 Likes

Nice two in a row!

1 Like

You’re probably copy in paste aren’t you?

:0

1 Like

Poll time!

Difficulty?
  • 1 :smiley:
  • 2 :grinning:
  • 3 :relieved:
  • 4 :slightly_smiling_face:
  • 5 :melting_face:
  • 6 :grimacing:
  • 7 :open_mouth:
  • 8 :sob:
  • 9 :rage:
  • 10 :skull:
  • 11: Land
0 voters

Yes! Also… I think (?) I got a month away and I feel better than ever.

edit: nvm it was 20 days lol

3 Likes

Nice and simple guide! Also, does this mean you’re back?

3 Likes

Wow. 27 outcomes! So cool! If you had 10 verbs and 10 pronouns and 10 nouns you could get to 1,000!! And then everything would be basically unique!!!

6 Likes

This would be cool.
Maybe like a puzzle where you need to get a certain word or sentence to access?
idk just throwing ideas
Awesome guide, though.

1 Like

Amazing guide I’ve been looking for something like this!!!

2 Likes

This is amazing and will be very useful in games! Maybe it could also be used as a password of some sort.

Also

Getting flashbacks to 6th grade ELA lol

2 Likes

can someone help with the block code, I dont understand it

What don’t you understand?

1 Like

well uh, i did it all and i get a message that says
“Your Sentence is…undefined” so idk how to fix that

Wdym by undefined? As in the text is not there?

Idk if im gonna make this anymore. Will ask again if help is needed ^^

If you set the random number starting at 0 or do not name your properties uniquely, it will not work.

5 Likes

yummy quacky quacky duck bump :3

1 Like