Results 1 to 10 of 10

Thread: Boreas lolislol again, please check

  1. #1
    Join Date
    Jan 2007
    Posts
    101
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Boreas lolislol again, please check

    Hi boreas and everybody else viewing i'd like to ask what means this:
    line 12: identifier excepted in script

    here's line 12: procedure Write;

    Any ideas?

  2. #2
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    its probably the line before it, post the whole thing

  3. #3
    Join Date
    Jan 2007
    Posts
    101
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    program MyFirstScriptAutoTalker;
    {////////////////////////////////////////////////////
    // Script brought to you by:Lolislol //
    // Hi so basicly this is my first script and i'm //
    // Not responsible for any ban or item loss //
    // This is an autotalker. //
    // => HAPPY TALKING <= //
    ////////////////////////////////////////////////////}

    //////////////// Don't Touch ////////////////////
    const //
    procedure Write; //
    begin //
    ///////////////////////////////////////////////////
    // Set Up Lines Below //
    ///////////////////////////////////////////////////
    //Press enter to say the word you wrote!!!!!!!!!!!!
    repeat
    SendKeys('xxxxxxx'+chr(13)); //Change this to what you want to say.don't touch the chr(13)); just the xxxxxxx.

    end;

    procedure Stay1;
    repeat
    wait(1000); //Change for the amount you want to wait before it says again.
    begin
    Write;
    Stay1;
    end.



    Please say all i have to fix!

  4. #4
    Join Date
    Feb 2006
    Location
    London, England
    Posts
    2,045
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    You're probably missing an
    Code:
    end;
    in your script

    EDIT:

    Code:
    program MyFirstScriptAutoTalker;
    {////////////////////////////////////////////////////
    // Script brought to you by:Lolislol //
    // Hi so basicly this is my first script and i'm //
    // Not responsible for any ban or item loss //
    // This is an autotalker. //
    // => HAPPY TALKING <= //
    ////////////////////////////////////////////////////}
    
    procedure Write;
    begin
    SendKeys('xxxxxxx'+chr(13)); //Change this to what you want to say.don't touch the chr(13)); just the xxxxxxx.
    end;
    
    begin
      Repeat
        Write;
        wait(1000);
      until(False)
    end.
    check out the changes i have made and learn from it

    Good Luck
    SRL Wiki | SRL Rules | SRL Stats
    Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!


    Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!


  5. #5
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    The const has nothing there, and its expecting something there. So either remove it or put something there. Putting something there will make your scripts easier to set up though, hint hint.

    Also use scar tags. Click go advanced, and then click the scar symbol and paste your code in there.



    Edit: spoiler to hint

    don't use on rs, just IM yourself

    SCAR Code:
    program MyFirstScriptAutoTalker;
    {////////////////////////////////////////////////////
    // Script brought to you by:Lolislol //
    // Hi so basicly this is my first script and i'm //
    // Not responsible for any ban or item loss //
    // This is an autotalker. //
    // => HAPPY TALKING <= //
    ////////////////////////////////////////////////////}


    ///////////////////////////////////////////////////
    // Set Up Lines Below //
    ///////////////////////////////////////////////////
    //Press enter to say the word you wrote!!!!!!!!!!!!

    const msg='change this to your messsage';
    const WaitTime=1000; //change to time between
    //////////////// Don't Touch ////////////////////
    procedure Write; //
    begin //
      SendKeys(msg+chr(13));
    end;

    procedure Stay1;
    begin
      wait(WaitTime);
    end;

    begin
      repeat
        Write;
        Stay1;
      until isfkeydown(12);//you need to tell repeat when to stop
      //this will stop when you press f12
    end.

  6. #6
    Join Date
    Jan 2007
    Posts
    101
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Same error occured at line 19
    SCAR Code:
    program MyFirstScriptAutoTalker;
    {////////////////////////////////////////////////////
    // Script brought to you by:Lolislol               //
    // Hi so basicly this is my first script and i'm   //
    // Not responsible for any ban or item loss        //
    // This is an autotalker.                          //
    //              => HAPPY TALKING <=                //
    ////////////////////////////////////////////////////}


    ////////////////  Don't Touch  ////////////////////                                            //
    procedure Write;                                 //
    begin                                            //
    ///////////////////////////////////////////////////
    //            Set Up Lines Below                 //
    ///////////////////////////////////////////////////
    //Press enter to say the word you wrote!!!!!!!!!!!!
    repeat
    SendKeys('xxxxxxx'+chr(13));  //Change this to what you want to say.don't touch the chr(13)); just the xxxxxxx.
    end;

    procedure Stay1;
    repeat
    wait(1000);  //Change for the amount you want to wait before it says again.
    begin
     Write;
     Stay1;
    end.

  7. #7
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    BTW check the other thread, the link is ready.

    Look at my or Star's versions.

    Notice how the main loop has

    begin
    ///
    end.

    Every function/procedure has

    procedure/function NameOfProcedure;
    begin
    /////
    end;

    Every repeat has an until (condition);

    Also notice the indenting, which makes it easier to see the things I just said.

    Get driger's tutorial.exe and go through it.

  8. #8
    Join Date
    Jan 2007
    Posts
    101
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks! Now it works! But please, i need to know what number all the characters have now i know only that f12 is 12 and enter is 13 pelase gimme list

  9. #9
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

  10. #10
    Join Date
    Jan 2007
    Posts
    101
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thx

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Ultimate antiban by lolislol
    By lolislol in forum RS3 Outdated / Broken Scripts
    Replies: 10
    Last Post: 07-17-2008, 08:58 PM
  2. My First Script [Lolislol Powa Choppa] A Power Chopper
    By lolislol in forum First Scripts
    Replies: 71
    Last Post: 01-26-2008, 06:02 PM
  3. Lolislol Powa Choppa A Power Chopper
    By lolislol in forum RS3 Outdated / Broken Scripts
    Replies: 4
    Last Post: 09-19-2007, 02:39 PM

Posting Permissions

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