First script-Auto typer.

Discussion in 'Outdated RS Scripts' started by firefox, Mar 23, 2007.

First script-Auto typer.
  1. Unread #1 - Mar 23, 2007 at 10:20 PM
  2. firefox
    Referrals:
    0

    firefox Guest

    First script-Auto typer.

    I've been using scar for a few weeks now.. I decided to try to learn how to script for myself. This is my first script, a simple auto typer. feedback would be nice :)

    PHP:
    //made by Firefox
    program AutoTyper;

    const
    write = ('put your text here'); // put in your message.
    speed 3000//this is the speed of the talking. 3000=3 seconds

    procedure Typing;
    begin
    wait
    (speed+(500));
    SendKeysSilent(write+chr(13));
    wait(speed+(500));
    SendKeysSilent(write+chr(13));
    end;

    begin
    repeat
    Typing
    ;
    until(false)
    end.
     
  3. Unread #2 - Mar 24, 2007 at 4:35 PM
  4. sheepman124
    Joined:
    Mar 16, 2007
    Posts:
    116
    Referrals:
    0
    Sythe Gold:
    0

    sheepman124 Active Member

    First script-Auto typer.

    Good job brother. :)
     
  5. Unread #3 - Mar 25, 2007 at 1:44 PM
  6. firefox
    Referrals:
    0

    firefox Guest

    First script-Auto typer.

    Thanks. Can jagex detect the SendKeysSilent?
     
  7. Unread #4 - Mar 25, 2007 at 2:46 PM
  8. r0b0t1
    Joined:
    Jan 23, 2007
    Posts:
    124
    Referrals:
    0
    Sythe Gold:
    0

    r0b0t1 Active Member

    First script-Auto typer.

    Yes,

    at the top of your script write
    PHP:
    {.include SRL/SRL.scar}
    and use the function "Typesend" It pressed enter automaticly too!
     
  9. Unread #5 - Mar 25, 2007 at 3:21 PM
  10. Th3 4ccount s3ller
    Joined:
    Jan 26, 2007
    Posts:
    483
    Referrals:
    0
    Sythe Gold:
    0

    Th3 4ccount s3ller Forum Addict

    First script-Auto typer.

    goodjob
     
  11. Unread #6 - Mar 25, 2007 at 3:24 PM
  12. Town
    Joined:
    Jan 21, 2007
    Posts:
    3,776
    Referrals:
    3
    Sythe Gold:
    5

    Town Grand Master
    Scar Programmers

    First script-Auto typer.

    Not bad for a first script. The SRL procedure works nicer like R0b0t1 said. Also, use a regular code box for scripts, not a php code box. It wil be easier to read.
     
  13. Unread #7 - Jun 2, 2007 at 11:56 AM
  14. sheepman124
    Joined:
    Mar 16, 2007
    Posts:
    116
    Referrals:
    0
    Sythe Gold:
    0

    sheepman124 Active Member

    First script-Auto typer.

    thanks guys
     
< DIVI 3.06 / SRL 3.7 Guard Phownier | [RS2] [SRL] QQNoRE's Camelot Teleporter (My First Script) >

Users viewing this thread
1 guest


 
 
Adblock breaks this site