Results 1 to 6 of 6

Thread: Scripting: How am I doing?

  1. #1
    Join Date
    Mar 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Talking Scripting: How am I doing?

    Been learning how to script and i just want to know how I am doing. Is it neat and up to standards? What do you recommend that I practice next? Been playing around with variables and if then else statements.

    Thank you to all the great script teachers.

    Simba Code:
    program ThisIsMyScript;


    Procedure IfThen;
     var
    a, b, c, d, e, f, g : Integer;
    I : String;
    begin
        a :=10;
      if (a = 9) then
      begin
        writeln('A Equals To 10');
      end else
        writeln('A Is Not Equal To 10');
      begin
        b := - 25;
      begin
      repeat
        b := b + 1;
        writeln('This Is Line Number ' + IntToStr(b));
      until (b > - 1);
      begin
        c :=234 - 128;
        d := c;
      if (c <> 25) then
        writeln('This is the answer to D ' + IntToStr(c));
      begin
        e := 125 / 3;
        f := e * 47;
        g := f + 15;
        I :='I am Shocked.';
        writeln('(125 Devided by 3) Times 47 (Plus 15) Equals ' + IntToStr(g));
        g :=g -1832;
        writeln('G Minus 1832 Equals What? ' + IntToStr(g) );
        writeln('Wow, you are getting good at this. '  +(I));
       end;
      end;
     end;
     end;
    end;

    begin
    IfThen;
    end.

    Debug Box

    Simba Code:
    Compiled successfully in 33 ms.
    A Is Not Equal To 10
    This Is Line Number -24
    This Is Line Number -23
    This Is Line Number -22
    This Is Line Number -21
    This Is Line Number -20
    This Is Line Number -19
    This Is Line Number -18
    This Is Line Number -17
    This Is Line Number -16
    This Is Line Number -15
    This Is Line Number -14
    This Is Line Number -13
    This Is Line Number -12
    This Is Line Number -11
    This Is Line Number -10
    This Is Line Number -9
    This Is Line Number -8
    This Is Line Number -7
    This Is Line Number -6
    This Is Line Number -5
    This Is Line Number -4
    This Is Line Number -3
    This Is Line Number -2
    This Is Line Number -1
    This Is Line Number 0
    This is the answer to D 106
    (125 Devided by 3) Times 47 (Plus 15) Equals 1942
    G Minus 1832 Equals What? 110
    Wow, you are getting good at this. I am Shocked.
    Successfully executed.

  2. #2
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Not bad, but this is in the wrong section.

  3. #3
    Join Date
    Jan 2012
    Location
    In A Farm
    Posts
    3,301
    Mentioned
    30 Post(s)
    Quoted
    444 Post(s)

    Default

    That's a good wait to practice some script making.

  4. #4
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Kicked to scripting help, please post in the right section next time.
    edit: stuff like this could also be posted in general or idk where as it isn't really asking for help, but really, NOT in tutorial section.
    I made a new script, check it out!.

  5. #5
    Join Date
    Oct 2008
    Location
    behind you!
    Posts
    1,688
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    Simba Code:
    program ThisIsMyScript;

    Procedure IfThen;
    var
      a, b, c, d, e, f, g : Integer;
      I : String;
    begin
      a :=10;
      if (a = 9) then
        writeln('A Equals To 10')
      else
        writeln('A Is Not Equal To 10');

      b := - 25;
      repeat
        b := b + 1;
        writeln('This Is Line Number ' + IntToStr(b));
      until (b > - 1);
      c :=234 - 128;
      d := c;

      if (c <> 25) then
        writeln('This is the answer to D ' + IntToStr(c));

      e := 125 / 3;
      f := e * 47;
      g := f + 15;
      I :='I am Shocked.';
      writeln('(125 Devided by 3) Times 47 (Plus 15) Equals ' + IntToStr(g));
      g :=g -1832;
      writeln('G Minus 1832 Equals What? ' + IntToStr(g) );
      writeln('Wow, you are getting good at this. '  +(I));
    end;

    begin
      IfThen;
    end.

    why so many begins? here... everything fixed for ya
    Hi

  6. #6
    Join Date
    Dec 2011
    Location
    Berlin
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by SamSatanas View Post
    Been learning how to script and i just want to know how I am doing. Is it neat and up to standards? What do you recommend that I practice next? Been playing around with variables and if then else statements.

    Thank you to all the great script teachers.
    You could start making simply runescape scripts as one just finding a tree and clicking it then let it wait 3 seconds(waited until chopped you could add later) and let it find an click the next tree and so on. Until the invintory is full.

    You should find all the stuff you need in the tutorial section.

    I will try to answer all Runescape related questions!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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