| |
 

HOW TO MAD
LIB
1.) Copy this
code to use as a template:
<script language="Javascript">
<!-- Hide me
var no1 = prompt("Blank #1: Enter a male NES character's
name.", "");
var no2 = prompt("Blank #2: Enter a Female NES character's
name.", "");
var no3 = prompt("Blank #3: Enter a funny verb.",
"");
var no4 = prompt("Blank #4: Enter a curse word.",
"");
var no5 = prompt("Blank #5: Enter an adjective (which
would insult someone) with -ing.", "");
var no6 = prompt("Blank #6: Enter a name of a body part.",
"");
var no7 = prompt("Blank #7: Enter something used to hurt/hit
someone with.", "");
var no8 = prompt("Blank #8: Enter a slang word for a
woman.", "");
var no9 = prompt("Blank #9: Enter a exclamatory.",
"");
var no10 = prompt("Blank #10: Enter anything you want.",
"");
var no11 = prompt("Blank #11: Enter something you would
buy (singular).", "");
var no12 = prompt("Blank #12: Enter the place where you
would buy that item at.", "");
var no13 = prompt("Blank #13: Enter a form of transportation.",
"");
var no14 = prompt("Blank #14: Enter a past tense verb",
"");
var no15 = prompt("Blank #15: Enter the name of your
least favorite song.", "");
var no16 = prompt("Blank #16: Enter a NES villain name.",
"");
var no17 = prompt("Blank #17: Enter a noun.", "");
var no18 = prompt("Blank #18: Enter your real name.",
"");
var no19 = prompt("Blank #19: Enter a noun (singular).",
"");
var no20 = prompt("Blank #20: Enter a 'violent' verb.",
"");
// Show me --!>
</script>
<script language="Javascript">
<!-- Hide me
document.writeln(no1 + ": So, Error, who do you think
is the hottest NES girl?<BR>");
document.writeln("Error: I am " + no2 + ".<BR>");
document.writeln(no1 + ": Oh yes, she has some pretty
sweet " + no6 + ".<BR>");
document.writeln(no2 + " " + no3 + " onto the
scene and yells, '" + no4 + "!'<BR>");
document.writeln(no1 + ": Speak of the " + no19
+ ".<BR>");
document.writeln(no2 + ": How rude! You " + no5
+ " clowns! I take offense to such sexual harassment!<BR>");
document.writeln(no1 + ": Come now, " + no2 + ",
we were just admiring your big " + no6 + "! Take
that as a compliment, " + no8 + " ! <BR>");
document.writeln(no2 + " whips out her " + no7 +
" and " + no20 + " " + no1 + " and
Error on the " + no6 + ". She then " + no8
+ " them.<BR>");
document.writeln(no1 + ": " + no9 + "!! "
+ no8 + " that done scratched me!<BR>");
document.writeln("Error: I am " + no10 + ".<BR>");
document.writeln(no2 + ": Never and I mean never mess
with this " + no8 + ", you " + no5 + "
fools!<BR>");
document.writeln(no1 + ": Okay, okay. To make it up to
you let me buy you a/an " + no11 + ".<BR>");
document.writeln(no2 + ": Hmm so tempting. Alright then!
Let's take the " + no13 + " to the " + no12
+ "!<BR>");
document.writeln(no1 + ", " + no2 + ", and
Error " + no14 + " into the " + no13 + "
and " + no2 + " turned on her stereo to play "
+ no15 + ".<BR>");
document.writeln("Suddenly " + no16 + " comes
out of nowhere and starts breakdancing!<BR>");
document.writeln(no1 + ": Well you don't see THAT everyday!<BR><BR>");
document.writeln("The End.<BR>");
document.writeln("Today's lessons: Never call women "
+ no8 + "(es)/(s) and comment on their " + no6 +
". Also, " + no16 + " is a/an " + no17
+ ". And the last thing we learned was that " +
no18 + " is a " + no10 + " without a/an "
+ no6 + "!<BR>");
document.writeln("Error: I am " + no9 + "!<BR>");
// show me --!>
</script>
2.) Edit the
code to your new story.
The variable
prompts at the top will be the fill-in-the-blanks and so are
transferred into the blanks of the story. The second script
is where you make the actual story. The blanks are labeled
with a shortened name of the variable prompt (e.g. first prompt
= no1 in the script).
Think of each
sentence as an math addition problem. If a variable starts
at the beginning of the setence, put a plus sign at the end.
If it appears inbetween the setence, then do '+ variable +'.
Anything (including
punctuation) that will be displayed and is not a variable
prompt must be enclosed in parenthesis.
For example (no1
= Name): "Hello my name is" + no1 + "."
3.) Test it out!
Fill in the blanks with a few examples to see if everything
comes out nicely.
4.) Submit your
story to us! Send your original madlib in a .txt or .html
file to: mike@nesplayer.com.
Make sure it somehow relates to the NES or video games with
setting/characters/or situations.
|
|