Utilities

Overview
There are many utilities in RandomGen. Utilities are small tools that can help customize, make your generator easier to format and help it make sense. They can also be added in lists and in formats. NOTE: Utilities might not always work like you planned them to.

[#-#]
This is a simple and basic utility. It chooses a number in between and including two other specified numbers. For example: I have [2-10] cats. This will return a number in between two through ten. This includes the numbers two and ten. The outcome could be: I have 3 cats. Again, it could be 2 cats, 8 cats, 10 cats, etc.

[x#-#]
This utility chooses the specified element between and including two numbers. [Clarification Needed]

[an]
This is used to clarify your generator and help it make sense. It puts a or an depending on the next word. It is formatted like this. [an] [fruit] If the fruit happens to be an apple, the generator will pull out "an apple".

If the fruit was a banana, the generator would say "a banana".

[s]
This utility returns the proper plural for the specified element. Note how there is no space in between the word and [s]. [class][s] If the class happens to be Scout, it will return as "Scouts".

If it was Spy, it would return as "Spies". Remember this is not foolproof, so expect silly results.

[book name]
This utility capitalizes the element to give it the appearance of a book title. [book name, fruit group] The outcome would be Bananas, Apples, And Pineapples. This does not exclude unimportant words like an, or, and, etc. So expect unimportant words to be capitalized.

Capitalization
This utility is similar to book name, but what is capitalized is customized. For example: [color] If the color was blue, it would return as blue, [Color] would return as Blue, and [COLOR] would return as BLUE.

HTML Formatting
Although it isn't a utility, you can format with HTML.

Here's a guide to HTML text formatting http://www.simplehtmlguide.com/text.php

Allowed tags:Look at the bottom of the page.   