Results 1 to 5 of 5

Thread: Simple Codes: Annoying Typer.

  1. #1
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Simple Codes: Annoying Typer.

    SCAR Code:
    program LmfaoBetch;

    var
      var1 : String;
      i, yo, yo2 : Integer;
     
    begin
      ClearDebug;
      var1:= Readln('Ah, yo man? What you want teh say?');
      Writeln('Spamming with this line : '+var1);
      ActivateClient;
      for i:= 1 to (length(var1)) do
      begin
        yo:= yo + 1;
        yo2:= 1;
        SendKeys(copy(var1, yo, yo2)+ Chr(13));
        Wait(100); //change if want.
      end;
    end.

    Types like this:

    If you inputed nigger it says.

    n
    i
    g
    g
    e
    r


    Tested it on StarBlaster I think. xD

    E
    n
    j
    o
    y

    n
    o
    o
    b
    s
    .

  2. #2
    Join Date
    Apr 2006
    Location
    I live in NH
    Posts
    611
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey WhitShadow. Interesting script, but you didn't have to put in so many variables. Everytime you have a string, like... Msg, and then you put in Msg[1] that will return the first letter, Msg[6] will return the 6th letter.

    Here is a slightly better way, since you did not use the i increment in the loop.

    Code:
    program LmfaoBetch;
    
    var
      var1 : String;
      i : Integer;
    
    begin
      ClearDebug;
      var1 := Readln('Ah, yo man? What you want teh say?');
      WriteLn('Spamming with this line: '+var1);
      ActivateClient;
      for i:= 1 to length(var1) do
      begin
        SendKeys(var1[i] + Chr(13));
        Wait(100); //change if want.
      end;
    end;

  3. #3
    Join Date
    Oct 2006
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    cool...thks
    http://www.fenjer.com/adnan/SRL/8/12...ner%20v.10.png

    Al Knarid Power Miner will be a FREE miner when released as BeTa!

  4. #4
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow Ron, I never knew about that ;D Thanks, learned something new.

  5. #5
    Join Date
    Apr 2006
    Location
    I live in NH
    Posts
    611
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey that's great man.

    I was happy when I figured this out because it made scripting much easier and I stopped using the function StrGet() which should be obsolete if everyone just used this.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Simple Auto Typer
    By Shave Ice in forum First Scripts
    Replies: 12
    Last Post: 12-23-2007, 05:48 AM
  2. ALT Codes =Þ
    By warrockownz in forum Semi Stupid Pictures
    Replies: 13
    Last Post: 08-14-2007, 07:33 AM
  3. Key Codes.
    By Hey321 in forum OSR Help
    Replies: 9
    Last Post: 12-09-2006, 04:48 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
  •