Story Generator | JavaScriptSource

Story Generator

Ben Joffe Oct 17, 2003
This script allows you to enter your name and gender to have one of over a billion random stories generated about you and your adventures.
Ben Joffe's Story Generator

The JavaScript Source: Generators: Story Generator

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response


This is an interesting script once you get it working — but it doesn't work straight out of the box. The script doesn't identify the variables for "character" or "sex" in the initial function. I added ID tags to the inputs for character name and gender, then used these to specify the variables in function storytest. Only then would the script generate a story. Good luck!

BarbaraMae Mar 11, 2015

Hope it works

Nicole Nov 16, 2014

I have the coding correct and the generator is there but it won't actually generate a story! WHY!!!!

Samantha Oct 20, 2014

Hello, the script does not work at all, in no browsers. Why?

Tina Oct 4, 2014

i love it

chelsea Feb 9, 2013