Author: Evan Holloway
Description: Prints a random text string (like a quote). This is often used in signatures. The number of strings goes in the tag option as an integer. The strings are seperated by underscore "_" in between the tags.
BBCode:
Code: Select all
[rtxt={NUMBER}]{SIMPLETEXT}[/rtxt]
Code: Select all
<script type="text/javascript">
var qttxta = "{SIMPLETEXT}";
var qtxtsel = qttxta.split("_");
var qtnums = Math.floor(Math.random()*{NUMBER});
document.write(qtxtsel[qtnums]);
</script>
Code: Select all
Random string rotator: [rtxt=number_of_strings]strings_seperated_by_bars[/rtxt]
Code: Select all
[rtxt=8]Quote 1_Quote 2_Quote 3_Quote 4_Quote 5_Quote 6_Quote 7_Quote 8[/rtxt]
[rtxt=8]Quote 1_Quote 2_Quote 3_Quote 4_Quote 5_Quote 6_Quote 7_Quote 8[/rtxt]