Results 1 to 3 of 3

Thread: Help With Auto Talker

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

    Default Help With Auto Talker

    SCAR Code:
    program Autotalker;
    Const
    F1 = 'Hello';//What to type F1
    F2 = 'Hello';//What to type F2
    F3 = 'Hello';//What to type F3
    F4 = 'Hello';//What to type F4
    F5 = 'Hello';//What to type F5
    F6 = 'Hello';//What to type F6
    F7 = 'Hello';//What to type F7
    F8 = 'Hello';//What to type F8
    F9 = 'Hello';//What to type F9
    F10 = 'Hello';//What to type F10

    procedure F1Talk;
    begin
    if(IsFKeyDown(1))then
    begin
    sendkeys(F1);
    SendKeysVb('{ENTER}',false);
    end;

    until(false)
    end.

    That's what I have.


    How can I make it so, if I press F1 once, it displays F1's message, F2 displays F2 Message and so on?

  2. #2
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kaldo View Post
    SCAR Code:
    program Autotalker;
    Const
    F1 = 'Hello';//What to type F1
    F2 = 'Hello';//What to type F2
    F3 = 'Hello';//What to type F3
    F4 = 'Hello';//What to type F4
    F5 = 'Hello';//What to type F5
    F6 = 'Hello';//What to type F6
    F7 = 'Hello';//What to type F7
    F8 = 'Hello';//What to type F8
    F9 = 'Hello';//What to type F9
    F10 = 'Hello';//What to type F10

    procedure F1Talk;
    begin
    if(IsFKeyDown(1))then
    begin
    sendkeys(F1);
    SendKeysVb('{ENTER}',false);
    end;

    until(false)
    end.

    That's what I have.


    How can I make it so, if I press F1 once, it displays F1's message, F2 displays F2 Message and so on?
    Do not use sendkeys and sendkeysvb, they will get you BANNED in runescape immediately. try using type send. if you want to make an auto talker and learn a lot more go to the tutorial I wrote (links in sig) Things the beginner tuts don't teach you. that should help you with that.

  3. #3
    Join Date
    Oct 2006
    Location
    Ireland
    Posts
    855
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    program Autotalker;
    {.include srl/srl.scar}
    Const
    F1 = 'Hello';//What to type F1
    F2 = 'Hello';//What to type F2
    F3 = 'Hello';//What to type F3
    F4 = 'Hello';//What to type F4
    F5 = 'Hello';//What to type F5
    F6 = 'Hello';//What to type F6
    F7 = 'Hello';//What to type F7
    F8 = 'Hello';//What to type F8
    F9 = 'Hello';//What to type F9
    F10 = 'Hello';//What to type F10

    procedure F1Talk;
    begin
    typesend(F1);// chr(13) presses the enter key also.
    end;
    // repeat all this for every F Key.... Im too lazy :P

    procedure f2talk;
    begin
    typesend(F2)
    end;

    begin  //main loop
    repeat
    if(IsFKeyDown(1)) then
    begin
    f1Talk;
    end;
    if(isfkeydown(2)) then
    begin
    f2talk;//etc.etc. continue on.
    end;
    until(false)
    end.

    //until(false) Dont think thats meant to be there
    end;

    Yeah dont use send keys... Look up the SRL manual. Theres a few different ways to send keys, with the option of making a mistake every so often etc. If you still need help let me know. I didn't test it by the way so there may be some dumb errors.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. My First Auto Talker
    By jacka scar MASTER in forum First Scripts
    Replies: 5
    Last Post: 05-08-2008, 10:59 PM
  2. Replies: 5
    Last Post: 11-23-2007, 08:45 PM
  3. Help with auto trade/ auto talker script
    By logik in forum OSR Help
    Replies: 5
    Last Post: 03-16-2007, 11:16 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
  •