BBCODE| text loop/text repeats itself/double text

User submitted BBCodes
Let us see what You have
There is no support here! Only Read Access!
Forum rules
We dont add more BBCodes to our database, but feel free to share and support your own BBCodes here.
Remember that it is not allowed to use {TEXT} inside the html tags!!!
It causes a serious security risk to your board and users.
Like this: <div style="{TEXT}">{TEXT}</div>
Green = OK - Red = forbidden
Locked
Yotam
BBCoder I
BBCoder I
Posts: 3
Joined: 15 Aug 2010, 15:37

BBCODE| text loop/text repeats itself/double text

Post 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]
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

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

Post by cisco007 »

DEMO please!
Yotam
BBCoder I
BBCoder I
Posts: 3
Joined: 15 Aug 2010, 15:37

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

Post by Yotam »

http://ephpbb.info/viewtopic.php?f=20&t=105
the loop is "רואה אלירם זה עובד" it loops 5 times.
Locked