Results 1 to 7 of 7

Thread: my first script, an autotalker

  1. #1
    Join Date
    Oct 2007
    Location
    medway.england
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default my first script, an autotalker

    hi, heers my very first script, an auto talker, i made this because im trying to learn scar and rid myself of "leacher" status. with my talker you can set any effect/color, the script will also terminate when you open a trade window, this was something missing from all of the autotalkers iv seen, so i put it in. please leave feedback for me.

    many thanks to Ares and WhoCares357 for their brill tuts.

    cocodog

    updated to work with srl4#14 and scar 3.15 becasue iv started playing rs again and i actualy use this script a fair bit... lol

    UPDATE

    //changed for v2: trade window detection is
    //now smaller and faster, types like a human,
    //a general tidy of code.

  2. #2
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Not a bad first script, havn't tried it tho.

    With your ..
    SCAR Code:
    if (use_wave2= true) then

    You can simply use
    SCAR Code:
    If(use_wave2)then

    The vars are pretty long, u can put them like this..
    SCAR Code:
    Var
    x, y, a, b, c, d, e ,f :Integer;

    Good job.

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

  3. #3
    Join Date
    Oct 2007
    Location
    medway.england
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The vars are pretty long, u can put them like this..
    SCAR Code:
    Var
    x, y, a, b, c, d, e ,f :Integer;

    Good job.[/QUOTE]

    thanks for the tips i dident know you could put the vars out next to eachother :P . updated as such

  4. #4
    Join Date
    Aug 2007
    Location
    Utah, U.S.A.
    Posts
    122
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the "your message" var is pretty low down, some people will probable miss it

    so
    up buy your const you can make one more and turn it into somthing like this.
    SCAR Code:
    program YOtalker;
    const
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
    //SET Message                       |
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
    Your_text='Your message goes here';

    then down in config procedure put this:
    SCAR Code:
    procedure config;
    begin
    activateclient;
    wait(500)
    your_message:= your_text;
    end;

    do you get what i mean?

  5. #5
    Join Date
    Oct 2007
    Location
    medway.england
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  6. #6
    Join Date
    Aug 2007
    Location
    Utah, U.S.A.
    Posts
    122
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  7. #7
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Instead of having aload of ..

    SCAR Code:
    use_red= true;
    etc.

    Why don't you use ..

    SCAR Code:
    color='red';
    etc?

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. My First Script - Autotalker
    By Da 0wner in forum First Scripts
    Replies: 5
    Last Post: 01-21-2008, 06:43 PM
  2. My first script! (AutoTalker)
    By qwertyftw in forum First Scripts
    Replies: 9
    Last Post: 12-01-2007, 07:47 PM
  3. My First Script :D ( AutoTalker)
    By holiday105 in forum First Scripts
    Replies: 9
    Last Post: 04-07-2007, 03:32 AM
  4. [Rs2] My first script (autotalker)
    By k1ll3r in forum First Scripts
    Replies: 4
    Last Post: 04-01-2007, 02:04 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
  •