//Will run infinate times until death
function()
{
self endon("death");
for(;
{
self iPrintln("LOL Infinate");
wait 1;
}
}
//Will run 10 times
function()
{
self endon("death");
for(i = 0;i < 10;i++)
{
self iPrintln("LOL 10 Times");
wait 1;
}
}
//Will run 20 times
function()
{
self endon("death");
for(i = 0;i < 20;i++)
{
self iPrintln("LOL 20 Times");
wait 1;
}
}
//Will run 15 times with a end message
function()
{
self endon("death");
for(i = 0;i < 15;i++)
{
self iPrinln("LOL 15 Times");
wait 1;
}
self iPrintln("A new message");
}
//Will run infinate times until death
function()
{
self endon("death");
for(;
{
self iPrintln("LOL Infinate");
}
}
//Will run 10 times
function()
{
self endon("death");
for(i = 0;i < 10;i++)
{
self iPrintln("LOL 10 Times");
}
}
//Will run 20 times
function()
{
self endon("death");
for(i = 0;i < 20;i++)
{
self iPrintln("LOL 20 Times");
}
}
//Will run 15 times with a end message
function()
{
self endon("death");
for(i = 0;i < 15;i++)
{
self iPrinln("LOL 15 Times");
wait 1;
}
self iPrintln("A new message");
}
and it will turn unlimited times
example(){for(;
{iprintlnbold("test");}}
//Will run infinate times until death
function()
{
self endon("death");
for(;
{
self iPrintln("LOL Infinate");
}
}
//Will run 10 times
function()
{
self endon("death");
for(i = 0;i < 10;i++)
{
self iPrintln("LOL 10 Times");
}
}
//Will run 20 times
function()
{
self endon("death");
for(i = 0;i < 20;i++)
{
self iPrintln("LOL 20 Times");
}
}
//Will run 15 times with a end message
function()
{
self endon("death");
for(i = 0;i < 15;i++)
{
self iPrinln("LOL 15 Times");
wait 1;
}
self iPrintln("A new message");
}
for(starting value;condition;action)
" creates and defines the variable "starting value" and does the "action" until the "condition" is no longer true (false).
for(starting value;condition;action)
" creates and defines the variable <starting value> and does <action> until <condition> is no longer true (false).
Copyright © 2026, NextGenUpdate.
All Rights Reserved.