Results 1 to 6 of 6

Thread: auto talk and respond???

  1. #1
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default auto talk and respond???

    why isnt this working???

    SCAR Code:
    Procedure AutoTalking;
    var
    autotalk, L: integer;
     begin
      autotalk :=random(5)
       if (L = 1) then
        begin
         autotalk :=random(10);
          Case autotalk of
          1:TypeSend('i am a noob...');
          2:TypeSend('...');
          3:TypeSend('*sigh*');
          4:TypeSend('zzz');
          5:TypeSend('this beats mining any day!');
          6:TypeSend('konichiwa');
          7:TypeSend('*yawn*');
          8:TypeSend('im bored');
          9:TypeSend('hello everyone');
          10:TypeSend('ni huo');
       end;
      end;
     end;
     
    Procedure AutoResponder;

     begin
     SetChat ('On',1);
      if(InChat('Fishin lvls?') or
         InChat('Fishing lvls') or
         InChat('Fishing lvls?')) then

       begin
        Typesend('45 i think')
       end;

      if(InChat('Hi' + (Players[CurrentPlayer].Name))or
         InChat('Hello' + (Players[CurrentPlayer].Name))or
         InChat('Whats up' + (Players[CurrentPlayer].Name)))then
       
        begin
         Typesend('oh... hi')
        end;
         
      if(InChat('your a loser') or
         InChat('your a noob') or
         InChat('your a froob')) then
       begin
        Typesend('you are too!')
       end;
    end;

    i spent forever on this and it isnt working???

    They are sisters...
    Runescape Classic

  2. #2
    Join Date
    Feb 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Is there an error or it is just not working ?

  3. #3
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    you missed {.include SRL/SRL.scar} off the top, and maybe some semi colons and some end's. Especially the end. off the main loop at the very end.

  4. #4
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    That's not his whole script. That's just a procedure.

  5. #5
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    For the autotalking procedure, you need to take out the if(L=1)then ...talk...
    or put in L:=random(xx);

    Right now it has no value, and hence, the procedure will never autotalk
    Interested in C# and Electrical Engineering? This might interest you.

  6. #6
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Smartzkid View Post
    For the autotalking procedure, you need to take out the if(L=1)then ...talk...
    or put in L:=random(xx);

    Right now it has no value, and hence, the procedure will never autotalk
    oh ok then ill fixx that and put it in thanks

    what about my auto respond?

    why isnt that working?

    They are sisters...
    Runescape Classic

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. TBKAntiBan(Talk, Respond : Boolean); [!ELITE!]
    By turbobk in forum Research & Development Lounge
    Replies: 28
    Last Post: 01-30-2008, 11:44 PM
  2. NCDS Auto Talk (first script in looong time!)
    By NCDS in forum RS3 Outdated / Broken Scripts
    Replies: 0
    Last Post: 11-13-2007, 10:00 PM
  3. auto respond
    By XcanadamanX in forum OSR Help
    Replies: 1
    Last Post: 03-03-2007, 03:03 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
  •