Results 1 to 13 of 13

Thread: Response library

  1. #1
    Join Date
    Nov 2007
    Posts
    43
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Response library

    I was thinking that maybe we could make a list of Responses to other players questions and statements so that you could easily add it to scripts to make a good auto responder

  2. #2
    Join Date
    Oct 2007
    Location
    Sweden
    Posts
    199
    Mentioned
    1 Post(s)
    Quoted
    23 Post(s)

    Default

    That would be especialy good for those 2 worlds were you only can use the quick response, not normal chat were you write.
    Previously known as Billy Opel.

  3. #3
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    There are several around.. It's quite a hard job.. But it's possible . AI!
    Verrekte Koekwous

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

    Default

    AutoRespond.scar, anyone?

  5. #5
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    SCAR Code:
    If(InChat('hi'))Then
      TypeSend('hello');

    bunch of those. Of couse make 10 different answers and randomly choose one.

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  6. #6
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes i was thinking about that yesterday we need to get that padded out

    but we should use proper words ad spelling mistakes

    and not things like homie stupid stuff

    when you start syaing stuff liein timothegreats auto responder people start thinking youra little bit dodgy
    General[5]:= 'poo';
    General[6]:= 'im captain underpants';
    Edit: jukka if it gunna be for the srl include file it will be arrays lol
    Blank!

  7. #7
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I made this auto responder for my iron miner, you can easely add responds to this.

    waddo: ARRAY OF ARRAY OF STING OF COUSRE FTW

    SCAR Code:
    var
      HowManyResponds: Integer;
      TheQuestion, TheRespond: array of array of String;

    SCAR Code:
    Procedure SetupResponds; // ADD RESPONDS FOR BETTER ANTI BAN !
    begin
      HowManyResponds := 3;  {<-- SETUP CORRECT !!}
                                                                                                                                                                                                    SetArrayLength(TheQuestion, HowManyResponds); SetArrayLength(TheRespond, HowManyResponds);
      TheQuestion[0] := ['mining', 'mine'];
      TheRespond[0]  := [IntToStr(Players[CurrentPlayer].Integers[1])]; // your players mining level

      TheQuestion[1] := ['respond'];
      TheRespond[1]  := ['what to say?', 'i dont have anything to say', 'no im bussy'];

      TheQuestion[2] := [Players[CurrentPlayer].nick]; // your players nickname
      TheRespond[2]  := ['no', 'get lost', 'im bussy', 'go away', 'just let me mine okeey?'];
    end;

    SCAR Code:
    {*******************************************************************************
    function TheResponder: Boolean;
    By: M4st3rK1ll
    Description: Automated responder.
    Result: True if a respond is made.
    *******************************************************************************}

    Function TheResponder: boolean; // Created by M4st3rK1ll
    var
      I, II, Rand: Integer;
      Text, Name: String;
    begin
      If Not GetLastChatText(Text) Then Exit;
      For I := 0 To HowManyResponds - 1 Do
      begin
        For II := 0 To High(TheQuestion[I]) Do
        begin
          If (Pos(TheQuestion[I][II], Text) <> 0) then
          begin
            Status('$Making Respond');
            Name := GetBlackChatMessage;
            If (Pos(Players[CurrentPlayer].nick, Name) <> 0) then exit;
            WriteLn('Respond:');
            WriteLn('/ ' + Name + ' ' + Text);
            Rand := Random(High(TheRespond[I]));
            TypeSend(TheRespond[I][Rand]);
            WriteLn('/ ' + Players[CurrentPlayer].Name + ': ' + TheRespond[I][Rand]);
            Result := True;
            exit;
          end;
        end;
      end;
    end;

    EDIT: LOL EVILCHICKEN TY, remove my auto responder out your post lol cos i posted it

  8. #8
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by waddo View Post
    yes i was thinking about that yesterday we need to get that padded out

    but we should use proper words ad spelling mistakes

    and not things like homie stupid stuff

    when you start syaing stuff liein timothegreats auto responder people start thinking youra little bit dodgy
    General[5]:= 'poo';
    General[6]:= 'im captain underpants';
    Edit: jukka if it gunna be for the srl include file it will be arrays lol
    There wont be a SRL responder, they have said that you should just create ur own thats the safest way.

    I simply posted the easiest way for new scripters to make a responder.

    I have now been working on one for 3 days it grabs every blue line then answers. Then theres a boolean for every single line so it returns TRUE if it has responded to that line and name. Theres more to come. But i wont release it.

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  9. #9
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    We should also make it not answer all the time otherwise ppl can just keep asking your mining lv.. or w.e..

  10. #10
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Hugolord View Post
    We should also make it not answer all the time otherwise ppl can just keep asking your mining lv.. or w.e..
    thats why u should store the usernames to a array.

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

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

    Default

    It seems that this thread is still going into the classic direction, there will be an 'official' AutoResponder with damn 564 lines of responding!

    While I've watched my character fish, it responds perfectly every time asked something, or greeted.

  12. #12
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by n3ss3s View Post
    It seems that this thread is still going into the classic direction, there will be an 'official' AutoResponder with damn 564 lines of responding!

    While I've watched my character fish, it responds perfectly every time asked something, or greeted.
    how many different responces?

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  13. #13
    Join Date
    Nov 2007
    Posts
    43
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    k well i guess that answers that look forward to it

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. No FindColor Response
    By demkidude in forum OSR Help
    Replies: 3
    Last Post: 01-22-2009, 03:25 AM
  2. Why does the response keep on looping?
    By Psychor in forum OSR Help
    Replies: 0
    Last Post: 11-12-2007, 05:10 PM
  3. auto response... HELP!!!
    By wade11 in forum OSR Help
    Replies: 2
    Last Post: 12-20-2006, 05:36 PM
  4. ROTFL, fake RS add complaint response
    By botmaster in forum Semi Stupid Pictures
    Replies: 5
    Last Post: 12-10-2006, 02:47 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
  •