John, before i would start on learning something new, i decided to go back on every thing i'v previously learnt with you, Emera, Callimuc and PerfecDark. As you know I'm highly energetic ! So, what do you think i should earn next?
John, before i would start on learning something new, i decided to go back on every thing i'v previously learnt with you, Emera, Callimuc and PerfecDark. As you know I'm highly energetic ! So, what do you think i should earn next?
lol, im trying to learn haha
How to contact me?
In-game name currently: ZombiEk" Ciprioni
Current gang owned: Mayhem
Skype: ek_graal
Facebook: Shannon Gallagher
Email: [email protected]
Push notifications: enabled
Ask me any questions/concerns!
Striker*-Have any question, concerns or problems?Message me on forums, click on the link if you need help: http://era-go.com/forum/member.php?410-StrikerNeed help on iEra P.M my nick name is Striker*-Need further help? My email is:[email protected]ENjOY PLAYING IERA!!!!!-Gani Artist
Yea, Imainly wanna gfx or LAT, but I can also gani.So if I learn to script, I could maybe be a developer!
How to contact me?
In-game name currently: ZombiEk" Ciprioni
Current gang owned: Mayhem
Skype: ek_graal
Facebook: Shannon Gallagher
Email: [email protected]
Push notifications: enabled
Ask me any questions/concerns!
Striker*-Have any question, concerns or problems?Message me on forums, click on the link if you need help: http://era-go.com/forum/member.php?410-StrikerNeed help on iEra P.M my nick name is Striker*-Need further help? My email is:[email protected]ENjOY PLAYING IERA!!!!!-Gani Artist
well, i forgot my password on graalians today, but at least i previously i went through the scripts again and i found out what you guys meant by styling the script.
i last stopped at triggering something to a ever side or a Client side, i still need to go through loops but if I'm currently not ready i can learn something else you would like me to learn in order for me to be good coder like you, John, Emera and PerfectDark.
So what would you like as to start now?
Striker*-Have any question, concerns or problems?Message me on forums, click on the link if you need help: http://era-go.com/forum/member.php?410-StrikerNeed help on iEra P.M my nick name is Striker*-Need further help? My email is:[email protected]ENjOY PLAYING IERA!!!!!-Gani Artist
Loops are easy, useful and efficient tools in java, and I'm fairly sure they're just as useful in gs2
A for loop is simple:
The x=1 defines a variableHTML Code:for (x=1;x<=5;x++) { System.out.println("hello!"); //I believe echo is used in gs2 }
x<=5 shows how many times you want the loop to repeat
x++ will make the x value move up
As long as it is less than or equal to five in this case, the loop will repeat.
The output of the following is:
HTML Code:hello! hello! hello! hello! hello!
Last edited by Poorface; 07-16-2013 at 05:29 AM.
Lol, I don't even know what loops are xD
How to contact me?
In-game name currently: ZombiEk" Ciprioni
Current gang owned: Mayhem
Skype: ek_graal
Facebook: Shannon Gallagher
Email: [email protected]
Push notifications: enabled
Ask me any questions/concerns!
They make life easy by repeating a set of code a set amount of time.
With a loop, you can use the two easy lines of code instead of doing something like:
Loops are much more efficient when you need to repeat something a lot of times, like instead if typing that line 100 times, just change the 5 in the loop to a 100 for the same outputHTML Code:System.out.println("hello!"); System.out.println("hello!"); System.out.println("hello!"); System.out.println("hello!"); System.out.println("hello!");