19/07/01:
Make Your Own Insults.
Insert This Code Into Your <Body> Section:
You are
<!------- First Section Of Insult ---->
<SCRIPT LANGUAGE="JavaScript">
var textnumber = 5 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (textnumber-1) * randomnumber) + 1 ;
text = new Array
text[1] = "a(n) adjective1 "
text[2] = "a(n) adjective2 "
text[3] = "a(n) adjective3 "
text[4] = "a(n) adjective4 "
text[5] = "a(n) adjective5 "
var mytext = text[rand1]
</SCRIPT>
<script language="JavaScript">
document.write(mytext)
</script>
<!------- Second Section Of Insult ---->
<SCRIPT LANGUAGE="JavaScript">
var textnumber = 5 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (textnumber-1) * randomnumber) + 1 ;
text = new Array
text[1] = "verb1 "
text[2] = "verb2 "
text[3] = "verb3 "
text[4] = "verb4 "
text[5] = "verb5 "
var mytext = text[rand1]
</SCRIPT>
<script language="JavaScript">
document.write(mytext)
</script>
<!------- Third Section Of Insult ---->
<SCRIPT LANGUAGE="JavaScript">
var textnumber = 5 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (textnumber-1) * randomnumber) + 1 ;
text = new Array
text[1] = "noun1."
text[2] = "noun2."
text[3] = "noun3."
text[4] = "noun4."
text[5] = "noun5."
var mytext = text[rand1]
</SCRIPT>
<script language="JavaScript">
document.write(mytext)
</script>
Just copy and paste the code, adding your own insults in. (Just remember to change the "var textnumber =" variable, depending on how many insults you put in). As you can see, the insult is made up of 4 parts:
- The prefix- in this case "You are"
- The adjective- eg "an ugly" (Note that the a/an comes in this part of the insult, to enure the correct one is used)
- The verb- eg "pillow-biting"
- The noun- eg "tart".
So, if you have 5 insults to each of the three customisable sections, that's 125 insults ready for everyday use!
Author: CH
Useful links: Random Quote Generator Code | Random Quote Generator |
See this code working here.
Any questions? Just mail the bloke in charge, CH