Results 1 to 5 of 5

Thread: Auto-Talker(not working need help)

  1. #1
    Join Date
    Feb 2007
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Auto-Talker(not working need help)

    Ok this is my very first auto talker.
    It says syntax error in line 14, but i dont know what that means.
    Here it is.


    program Autotalker;

    procedure OpenRSWindow;//as u can see i tryed to make it open rs window
    begin
    MoveMouse(106,650);
    Wait(534);
    ClickMouse(106,650,true);
    end;

    procedure Talk;
    begin
    SendKeys('Hello'=chr(13),//What u want to say in ' '(ex. 'selling armor')//
    Wait(5000+random(142)),// How long until typed again 1000=1 sec 5000=5 sec//
    end;

    begin
    OpenRSWindow
    Wait(5000)
    repeat
    Talk;
    until(false)
    end.

  2. #2
    Join Date
    Dec 2006
    Location
    Ky
    Posts
    390
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Check that out thats a start


    SCAR Code:
    program Autotalker;
    var T: Integer;// T integer so that this script doesnt just keep repeating

    Const
    NumberOfT = 5; // Continue to find out use


    procedure OpenRSWindow;
    begin
    MoveMouse(106,650);
    Wait(534);
    ClickMouse(106,650,true);
    end;

    procedure Talk;
    begin
    SendKeys('Hello'+chr(13));//Here you had = between what you were saying and the Char(13) you also forgot a close round ' ) ' and  ; //
    Wait(5000+random(142));// How long until typed again 1000=1 sec 5000=5 sec//
    T=T+1;// each loop will add one to the 'T' integer
    end;

    begin
    OpenRSWindow
    Wait(5000)
    repeat
    Talk;
    until(T=NumberOfT)// Repeats until T = the const 'NumberOfT'
    end.
    SUMMER BREAK be back when I want to

  3. #3
    Join Date
    Feb 2007
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you, but i had actually just fixed it and i dont need the t variable because i'm going to want to use it to sell or buy things and have it keep repeating.
    But thank you for the input.

  4. #4
    Join Date
    Feb 2007
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    whales you could also put until(IsFKeyDown(12)) so itstops when u hit f12

  5. #5
    Join Date
    Feb 2007
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i dont mean to double post but this is not meaning my version 5.0 is not working!!!! this was my first one, for my lastest one go to Srl-forums>Rs Scripts>AutoTalker V5.0

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
  •