Results 1 to 17 of 17

Thread: MY FIRST SCRIPT-tell me what i need

  1. #1
    Join Date
    Nov 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default MY FIRST SCRIPT-tell me what i need

    tell me what i need and how to add it i need things like anti ban features, tell me how to do these sort of things because i am fairly new and just started this like a day ago
    heres my script
    SCAR Code:
    program script;
    {.include SRL/SRL.scar}

    const
    Message1='hello world';

    procedure hello;
    begin
    wait(2000)
    typesend(message1);
    end;

    begin
    repeat
    hello;
    until(false)
    End.
    im back----took a long break away but im back and im gonna get into scripting

  2. #2
    Join Date
    Nov 2006
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Put SetupSRL; in your main line.
    (after the last begin)

    Do you need antibans here?
    I suppose you will stay near your pc, and you can start/stop it when you want.
    Just look that it types the message humanlike.

  3. #3
    Join Date
    Nov 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    what does setup srl do?
    im back----took a long break away but im back and im gonna get into scripting

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

    Default

    Take a look. It's in includes\srl\srl.scar

  5. #5
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    SetupSrl does exactly what it says
    Loads everything needed to properly run SRL =)
    You need it at the beginning of each of your scripts

  6. #6
    Join Date
    Nov 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    oh ok thanks
    im back----took a long break away but im back and im gonna get into scripting

  7. #7
    Join Date
    Nov 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    does it go like this?
    SCAR Code:
    program script;
    {.include SRL/SRL.scar}
     
    const
    Message1='hello world';
     
    procedure hello;
    begin
    SetupSrl;
    wait(2000)
    typesend(message1);
    end;
     
    begin repeat
    hello;
    until(false)
    End.
    im back----took a long break away but im back and im gonna get into scripting

  8. #8
    Join Date
    Nov 2006
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes shadow it goes like that....im guessing this is your autotalker?

  9. #9
    Join Date
    Jul 2006
    Posts
    189
    Mentioned
    1 Post(s)
    Quoted
    19 Post(s)

    Default

    to be honest, with scripts that basic you wont really need anti randoms... because you will be at the pc the whole time waiting for trades etc!!

    but if you added a trade feature then anti randoms are essential :P

    p.s the best way to learn scripting, besides the great tuts :P is just to study others work!

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

    Default

    put setupsrl either in the beginning of you main loop, or in the beginning of the first procedure in the main loop

  11. #11
    Join Date
    Nov 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks so u rekon i shud post this is da srl script section now?
    im back----took a long break away but im back and im gonna get into scripting

  12. #12
    Join Date
    Jun 2006
    Posts
    366
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I don't know.. There are many other auto talkers out there.. Also about setupsrl put it before the loop.. If you put it after it'll just keep on setting it up.. You only want it to setup once right...
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig (I did, so should u )

  13. #13
    Join Date
    Nov 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    could you post a correct version since i have no idea what your talkin such as a loop wdf?
    sorry yes i noe i am a noob
    im back----took a long break away but im back and im gonna get into scripting

  14. #14
    Join Date
    Oct 2006
    Posts
    517
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think its the Begin Repeat (Which loops it) If you don't know what a loop is, its something that is repeated.

  15. #15
    Join Date
    Nov 2006
    Location
    California, USA
    Posts
    336
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No, don't post this in the scripts section. My best advice to give is look around, study up, and after a while you'll be fine.

    PHP Code:
    program script;
    {.include 
    SRL/SRL.scar}

    const
    Message1='hello world';

    begin
      SetupSRL
    ;
      
    repeat
        wait
    (2000)
        
    TypeSend(message1);
      
    until(false)
    end

  16. #16
    Join Date
    Oct 2006
    Location
    I'm a figment of your imagination
    Posts
    422
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey, take a look at some SCAR tutorials! They can really help, if you're trying to learn how to script, this is probably the best way to go. Once you know the basics of SCAR, look at some scripts and figure out what they do. Mod them arround and just fiddle with them. Just don't publish them, you may be infringing someone else's intellectual property if you do so.

    When you get medium-good, try working on a simple project like an auto-spammer. Just keep up the hard work, never give up although you may be frustrated to the bones because of an error. Never hesitate to ask people on the forums for help, they usually give good advice. Use the basic tutorials as a reference whenever needed, don't try remembering everything at once; its impossible. You will learn as you script and use procedures and functions more and more often.

    Once you get into more complex style scripting, you should know all the basic stuff (how to use SCAR-related procedures, etc.). Go on and program a real script that uses SRL commands. This will be your first real project, its best to work with a teammate that can help you through this stage, the project can be attacked from two sides and result in a little competition. This can help motivate yourself.

    When done, release your script on the forums. Never stop learning though, there will always be new stuff!

    It's been a while... but I'm BACK!!!

  17. #17
    Join Date
    Nov 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks
    im back----took a long break away but im back and im gonna get into scripting

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
  •