Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 40

Thread: To learn how to script.

  1. #1
    Veteran Striker's Avatar
    Join Date
    Jul 2013
    Location
    Britian
    Posts
    283

    Lightbulb To learn how to script.

    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?

  2. #2
    Veteran Ek CM Bolivar's Avatar
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    423
    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!

  3. #3
    Veteran Striker's Avatar
    Join Date
    Jul 2013
    Location
    Britian
    Posts
    283
    Quote Originally Posted by Ek CM Bolivar View Post
    lol, im trying to learn haha
    You can learn from here, i learned most of my scripts from John.
    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-Striker
    Need help on iEra P.M my nick name is Striker*
    -Need further help? My email is:[email protected]
    ENjOY PLAYING IERA!!!!!
    -Gani Artist

  4. #4
    Veteran Ek CM Bolivar's Avatar
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    423
    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!

  5. #5
    Veteran Striker's Avatar
    Join Date
    Jul 2013
    Location
    Britian
    Posts
    283
    Quote Originally Posted by Ek CM Bolivar View Post
    Yea, Imainly wanna gfx or LAT, but I can also gani.So if I learn to script, I could maybe be a developer!
    lol good luck man! I'm not really focusing on LATing it take heck a load of time, I'm learning how to script and gani. About GFX i would never ever learn that. I wanted to but i don't have the skill to draw.
    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-Striker
    Need help on iEra P.M my nick name is Striker*
    -Need further help? My email is:[email protected]
    ENjOY PLAYING IERA!!!!!
    -Gani Artist

  6. #6
    Where did you stop at?

  7. #7
    Veteran Striker's Avatar
    Join Date
    Jul 2013
    Location
    Britian
    Posts
    283
    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-Striker
    Need help on iEra P.M my nick name is Striker*
    -Need further help? My email is:[email protected]
    ENjOY PLAYING IERA!!!!!
    -Gani Artist

  8. #8
    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:
    HTML Code:
     for (x=1;x<=5;x++)
     {
              System.out.println("hello!"); //I believe echo is used in gs2
     }
    The x=1 defines a variable
    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.

  9. #9
    Veteran Ek CM Bolivar's Avatar
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    423
    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!

  10. #10
    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:
    HTML Code:
    System.out.println("hello!");
    System.out.println("hello!");
    System.out.println("hello!");
    System.out.println("hello!");
    System.out.println("hello!");
    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 output

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •