Results 1 to 10 of 10

Thread: TypeTalk - AutoTalk Procedure

  1. #1
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default TypeTalk - AutoTalk Procedure

    These functions could be used in the empty AutoTalk.scar located in the Core file of your SRL Include's Folder.

    TypeTalk (Normal Speed):
    SCAR Code:
    {*******************************************************************************
    procedure TypeTalkNS(SentenceOne, SentenceTwo, FKey1, FKey2: Integer);
    By: IP-Drowner
    Description: Using TypeSend, press your select FKey number to type that sentence.
    *******************************************************************************}


    procedure TypeTalk(SentenceOne, SentenceTwo, FKey1, FKey2: Integer);
    begin
     if(IsFKeyDown(FKey1)) then
      begin
       TypeSend(SentenceOne);
       repeat
         Wait(1)
       until(not(IsFKeyDown(FKey1)))
      end;
     if(IsFKeyDown(FKey2)) then
      begin
       TypeSend(SentenceTwo);
       repeat
         Wait(1)
       until(not(IsFKeyDown(FKey2)))
      end;
    end;

    TypeTalkSS (SpamSpeed):
    SCAR Code:
    {*******************************************************************************
    procedure TypeTalk(SentenceOne, SentenceTwo, FKey1, FKey2: Integer);
    By: IP-Drowner
    Description: Using TypeSend, press your select FKey number to type that sentence.
    *******************************************************************************}


    procedure TypeTalkSS(SentenceOne, SentenceTwo, FKey1, FKey2: Integer);
    begin
     if(IsFKeyDown(FKey1)) then
      begin
       SendKeys(SentenceOne + Chr(13));
       repeat
         Wait(1)
       until(not(IsFKeyDown(FKey1)))
      end;
     if(IsFKeyDown(FKey2)) then
      begin
       SendKeys(SentenceTwo + Chr(13));
       repeat
         Wait(1)
       until(not(IsFKeyDown(FKey2)))
      end;
    end;

    Well, at least it is something to add into the AutoTalk.scar file.

  2. #2
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    procedure TypeTalk(SentenceOne, SentenceTwo, FKey1, FKey2: Integer);

    Sentence one and Sentence two should be strings, not integers. You'll get a type mismatch.
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  3. #3
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Sorry, no offense, but its not auto-talking if a human interferes...

    EDIT: (still no offense)


    SendKeys(SentenceTwo + Chr(13));
    HOLY SHIT GET THE BOMB SQUAD!

    I highly... Extremely... Ultimately... recommend using just the TypeSend

  4. #4
    Join Date
    Aug 2007
    Posts
    1,404
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Auto-talking should not include a human to do anything. Autotalk should be something with GetTextAtEx, finding the writer, answering humanly (Cases with different versions of the word) and stuff like that.

    -Knives

  5. #5
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    I thought Auto Talkers had to press buttons to send a sentence. Because when i see Auto Talker scripts they request to press an FKey to type that sentence.

  6. #6
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by King of Knives View Post
    Auto-talking should not include a human to do anything. Autotalk should be something with GetTextAtEx, finding the writer, answering humanly (Cases with different versions of the word) and stuff like that.

    -Knives
    That's called Auto-Responding...not Auto-Talking.
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  7. #7
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Santa_Clause View Post
    That's called Auto-Responding...not Auto-Talking.
    Thank you! I knew it was the right title.

    But this part of code could help beginners a lot when they're creating some basic autotalking scripts.

  8. #8
    Join Date
    Aug 2007
    Posts
    1,404
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Bah, Santa. I think SRL's AutoTalk is meant to be AutoRespond. AutoTalkers are pretty (no offense) useless, since it would require the user to sit next to the computer at all times. Which is what we don't want to

    Quote Originally Posted by IP-Drowner
    But this part of code could help beginners a lot when they're creating some basic autotalking scripts.
    This would basically be their entire script...

    -Knives

  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 King of Knives View Post
    Bah, Santa. I think SRL's AutoTalk is meant to be AutoRespond. AutoTalkers are pretty (no offense) useless, since it would require the user to sit next to the computer at all times. Which is what we don't want to


    This would basically be their entire script...

    -Knives
    Yes I think its what they mean. After all there is a procedure called AutoRespond in AutoTalk.scar. I wonder if anyone is actually building that?

  10. #10
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Well, at least it is something to put in there. As i think there'll be nothing in there either.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SRL AutoTalk Function
    By Blender in forum First Scripts
    Replies: 6
    Last Post: 10-18-2008, 09:24 PM
  2. Teh 1337 Merchant (autotalk/trade w/form)
    By Timothegreat in forum RS3 Outdated / Broken Scripts
    Replies: 10
    Last Post: 12-08-2007, 07:30 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
  •