Post: For Loop Tutorial
08-24-2012, 09:58 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Well, I'm going to tell what a for loop is
If you don't get these then go ahead and leave this thread.
I'm not going to explain what everything does in each function.
    
//Will run infinate times until death
function()
{
self endon("death");
for(;Winky Winky
{
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;
}
}


If you want a message to pop after the LOL ect.

    
//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");
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to TheUnexpected for this useful post:

ConnorModz, Host4U_PS3, I-LOVE-Coockies, KingcreekS, LightModz, JokerRey, ThePhantom410., xMr_Adams-
08-27-2012, 07:42 PM #20
RaspberryIce
Bounty hunter
Originally posted by 247Yamato View Post
One for you:

    EpicScoper))))
{
for(;Winky Winky
{
self iPrintLnBold( sup br0, lets make some qs ):
}


All the codes that get released should work


What Happy
? lol Awesome face
08-30-2012, 09:37 PM #21
Host4U_PS3
Save Point
thanks i now understand this

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo