Results 1 to 5 of 5

Thread: Random chat proc wont work...

  1. #1
    Join Date
    Jun 2007
    Location
    Varrock East bank,
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Random chat proc wont work...

    Hi guys, why the hell wont this work, i though i had it fixed but i keep getting a comma expected in script...

    Code:
    program testing;
    {.include SRL\SRL.scar}
    
    procedure RandomChatShadowscollide;
    var
      RCSC: array[0..18] of string;
    begin
      RCSC[0] := 'WC lvls?';
      RCSC[1] := 'Anyone watching tv?';
      RCSC[2] := 'Im bored lol';
      RCSC[3] := 'cyan:wave: testing';
      RCSC[4] := '.....';
      RCSC[5] := 'im well bored';
      RCSC[6] := 'wc ftw!';
      RCSC[7] := ':D';
      RCSC[8] := 'im a lumberjack and im ok i sleep all night and i work all day!';
      RCSC[9] := 'dinner time :D';
      RCSC[10] := '*snores';
      RCSC[11] := 'How much does a rune hatchett go for these days?';
      RCSC[12] := 'how long you guys been playing?';
      RCSC[13] := 'cyan:scroll: FISHY!          <><';
      RCSC[14] := ':D';
      RCSC[15] := ':D :P :)';
      RCSC[16] := 'sometimes i wish my character would cut my logs for me!'; //Cheeky :P
      RCSC[17] := 'how much are christmas crackers?';
      RCSC[18] := 'i wish my mum would shut up lol';
    
      wait(30000+random(100000));
    
      TypeSend(RCSC[Random(19)];
    end;
    
    begin
    setupsrl;
    RandomChatShadowscollide;
    end.
    Shadows-Collide -
    http://i142.photobucket.com/albums/r...ollidesig1.jpg
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig.
    - Shadows-collide -
    -

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

    Default

    SCAR Code:
    program testing;
    {.include SRL\SRL.scar}

    procedure RandomChatShadowscollide;
    var
      RCSC: array[0..18] of string;
    begin
      RCSC[0] := 'WC lvls?';
      RCSC[1] := 'Anyone watching tv?';
      RCSC[2] := 'Im bored lol';
      RCSC[3] := 'cyan:wave: testing';
      RCSC[4] := '.....';
      RCSC[5] := 'im well bored';
      RCSC[6] := 'wc ftw!';
      RCSC[7] := ':D';
      RCSC[8] := 'im a lumberjack and im ok i sleep all night and i work all day!';
      RCSC[9] := 'dinner time :D';
      RCSC[10] := '*snores';
      RCSC[11] := 'How much does a rune hatchett go for these days?';
      RCSC[12] := 'how long you guys been playing?';
      RCSC[13] := 'cyan:scroll: FISHY!          <><';
      RCSC[14] := ':D';
      RCSC[15] := ':D :P :)';
      RCSC[16] := 'sometimes i wish my character would cut my logs for me!'; //Cheeky :P
      RCSC[17] := 'how much are christmas crackers?';
      RCSC[18] := 'i wish my mum would shut up lol';

      wait(30000+random(100000));

      TypeSend(RCSC[Random(19)]; //Random(18) will only choose from 0 - 17
    end; //You gotta end all your procedures

    begin
    setupsrl;
    RandomChatShadowscollide;
    end.
    Interested in C# and Electrical Engineering? This might interest you.

  3. #3
    Join Date
    Jun 2007
    Location
    Varrock East bank,
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nope... stil dosnt work
    comma expected in script?
    Shadows-Collide -
    http://i142.photobucket.com/albums/r...ollidesig1.jpg
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig.
    - Shadows-collide -
    -

  4. #4
    Join Date
    Mar 2007
    Location
    Maryland, USA
    Posts
    184
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    try now

    SCAR Code:
    program testing;
    {.include SRL\SRL.scar}
     
    procedure RandomChatShadowscollide;
    var
      RCSC: array[0..18] of string;
    begin
      RCSC[0] := 'WC lvls?';
      RCSC[1] := 'Anyone watching tv?';
      RCSC[2] := 'Im bored lol';
      RCSC[3] := 'cyan:wave: testing';
      RCSC[4] := '.....';
      RCSC[5] := 'im well bored';
      RCSC[6] := 'wc ftw!';
      RCSC[7] := ':D';
      RCSC[8] := 'im a lumberjack and im ok i sleep all night and i work all day!';
      RCSC[9] := 'dinner time :D';
      RCSC[10] := '*snores';
      RCSC[11] := 'How much does a rune hatchett go for these days?';
      RCSC[12] := 'how long you guys been playing?';
      RCSC[13] := 'cyan:scroll: FISHY!          <><';
      RCSC[14] := ':D';
      RCSC[15] := ':D :P :)';
      RCSC[16] := 'sometimes i wish my character would cut my logs for me!'; //Cheeky :P
      RCSC[17] := 'how much are christmas crackers?';
      RCSC[18] := 'i wish my mum would shut up lol';
     
      wait(30000+random(100000));
     
      TypeSend(RCSC[Random(19)]); //Random(18) will only choose from 0 - 17
    end; //You gotta end all your procedures
     
    begin
    setupsrl;
    RandomChatShadowscollide;
    end.


    yeah u needed a parenthise after the bracket

  5. #5
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol yeah, though without the parenthesis i thought it came up as invalid # of parameters.... ahh well
    Originally Posted by YoHoJo
    I like hentai.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. why wont this work?
    By rogue poser in forum OSR Help
    Replies: 11
    Last Post: 01-01-2008, 08:28 PM
  2. Why wont this work
    By philowns in forum OSR Help
    Replies: 3
    Last Post: 07-29-2007, 01:36 AM
  3. Why wont this work
    By philowns in forum OSR Help
    Replies: 8
    Last Post: 07-28-2007, 07:12 PM
  4. Just wont work
    By reece844 in forum OSR Help
    Replies: 5
    Last Post: 04-24-2007, 09:01 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
  •