Page 1 of 1

BBCODE| text loop/text repeats itself/double text

Posted: 15 Aug 2010, 16:08
by Yotam
author: Yotam
this bbcode doubles your text in it how many times you want.

bbcode:

Code: Select all

[loop={NUMBER}]{INTTEXT}[/loop]
html:

Code: Select all

<script type="text/javascript">
var x = 0;
for (x=0;x<={NUMBER};x++)
{
document.write("{INTTEXT}" + " ");
}
</script>
example:

Code: Select all

[loop=5]text loop XD[/loop]

Re: BBCODE| text loop/text repeats itself/double text

Posted: 15 Aug 2010, 18:22
by cisco007
DEMO please!

Re: BBCODE| text loop/text repeats itself/double text

Posted: 16 Aug 2010, 12:21
by Yotam
http://ephpbb.info/viewtopic.php?f=20&t=105
the loop is "רואה אלירם זה עובד" it loops 5 times.