Results 1 to 9 of 9

Thread: AutoTyper 'Happy Birthday!'

  1. #1
    Join Date
    Jun 2007
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default AutoTyper 'Happy Birthday!'

    Its a spam thing.

    SCAR Code:
    Program Autotyper;
    var message: string;

    Procedure setup;
    begin
    message:= 'Happy Birthday !'
    end;
    begin
    setup;
    repeat
    Writeln(Message);
    wait(2000)
    until(false)
    end.

    Pentti helped me with the write in thing.

  2. #2
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    lol ok... well its not a very good spammer unless you want it to spam your debug. Writeln only writes the message in the debug. you need to add TypeSend or something similar so that the script actually writes it in the game. that means you must also add SRL to your script otherwise it won't work, add this just below the program AutoTyper; part:

    SCAR Code:
    {.include SRL/SRL.scar}

    you need to learn the standards for scripting such as indenting and correct setting out.

    also theres no point in using a variable because you aren't changing it during the script. use a constant instead.

    you also need to randomize it more cos at the moment you'll get banned before you can say 'Happy Birthday'. you can randomize the wait times by adding a 'random' function to the wait function:

    SCAR Code:
    wait(2000+random(500)


    also if you are going to use a procedure, make sure its more than one line long otherwise it would be easier to just write it in the main loop itself.

    and if you look carefully you'll notice it won't compile cos you've forgotten a couple of semi-colons in several places such as after message:='happy birthday'. you obviously haven't tested it.

  3. #3
    Join Date
    Jun 2007
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Where do I put this

    wait(2000+random(500)
    ?

  4. #4
    Join Date
    Jun 2007
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Include file C:\Program Files\SCAR 2.03\includes\SRL/SRL.scar does not exist.
    Failed when compiling

    sorry for duble post

  5. #5
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    lol ok... with your first question, change the wait(2000) into wait(2000+random(500));.

    with your second question, you need to download SRL from the main page. sry i thought you would have it already.

    also i recommend you download and install SCAR 3.06 cos 2.3 is quite old and all new script would be designed for 3.06:
    http://freddy1990.com/scar.php

  6. #6
    Join Date
    Jun 2007
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    I can't find the thing I need to download.

  7. #7
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    i posted the link for SCAR Divi 3.06 above in my last post. when you download and install that, go to Files then click Download SRL. that should download the latest SRL to your includes folder. then you just have to wait until it says 'SRL installed' or something in your debug.

  8. #8
    Join Date
    Nov 2006
    Location
    In an Amish Paradise
    Posts
    729
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    WriteLn only types your message in the scar debug box... If you want it to send it to the active client then use SendKeys(Message);

    Other than that good first script
    ~Stupedspam

  9. #9
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by stupedspam View Post
    WriteLn only types your message in the scar debug box... If you want it to send it to the active client then use SendKeys(Message);
    well actually you should use TypeSend cos SendKeys goes poof.. and your text is there perfectly within a millisecond.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Happy birthday to ...
    By Wizzup? in forum News and General
    Replies: 25
    Last Post: 02-21-2009, 07:13 PM
  2. Happy Birthday Squigglyo!
    By Daniel in forum News and General
    Replies: 19
    Last Post: 07-09-2008, 12:36 PM
  3. Happy Birthday Richk1693
    By richk1693 in forum News and General
    Replies: 19
    Last Post: 01-07-2008, 12:43 AM

Posting Permissions

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