Page 2 of 2 FirstFirst 12
Results 26 to 27 of 27

Thread: Clan Chat

  1. #26
    Join Date
    May 2007
    Location
    England
    Posts
    4,141
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    SCAR Code:
    {*******************************************************************************
    procedure GetInChat(channel: string);
    By: Akwardsaw
    Description: It will get you into a Clan Chat channel, if it exists.
                 If no Specific Channel, leave as GetInChannel('');
    *******************************************************************************}


    procedure GetInChat(channel: string);
    var channelarray: tstringarray;
    begin
      if not FindCCTab then exit;
      if not inclanchat then
      begin
        begin
          Mousebox(571, 438, 625, 453, 1);
          wait(100);
        end;
        if channel = '' then
        begin
          channelarray:= ['dewll dragon', 'spaderdabomb', 'Strings Mas',
                          'Zeth317', '0wn3d xx', 'Miljaker', 'Trawler Fish', 'Sir Nrop',
                          'Diy Chat', 'Seraphyna', 'zach5433', 'Cake753', 'World65edge',
                          'Mr Sniper1', 'Jsen', 'Quirk_X', 'Sworddude247', 'munyacct5',
                          'ashcon4', 'Gastrophete', 'Ot Chatroom', 'Meimaskiller',
                          'Xhuntahx'];
          Typesend(channelarray[Random(Length(channelarray))]);
        end else typesend(channel);
        while inclanchat = false do wait(100);
      end;
    end;

    Could be

    SCAR Code:
    {*******************************************************************************
    procedure GetInChat(channel: string);
    By: Akwardsaw
    Description: It will get you into a Clan Chat channel, if it exists.
                 If no Specific Channel, leave as GetInChannel('');
    *******************************************************************************}


    procedure GetInChat(channel: string);
    var channelarray: tstringarray;
    begin
      if not FindCCTab then exit;
      if not inclanchat then
      begin
        Mousebox(571, 438, 625, 453, 1);
        wait(100);
        if channel = '' then
        begin
          channelarray:= ['dewll dragon', 'spaderdabomb', 'Strings Mas',
                          'Zeth317', '0wn3d xx', 'Miljaker', 'Trawler Fish', 'Sir Nrop',
                          'Diy Chat', 'Seraphyna', 'zach5433', 'Cake753', 'World65edge',
                          'Mr Sniper1', 'Jsen', 'Quirk_X', 'Sworddude247', 'munyacct5',
                          'ashcon4', 'Gastrophete', 'Ot Chatroom', 'Meimaskiller',
                          'Xhuntahx'];
          Typesend(channelarray[Random(Length(channelarray))]);
        end else typesend(channel);
        while inclanchat = false do wait(100);
      end;
    end;

    Meh, it's two lines shorter.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  2. #27
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    well, the less lines the faster it is right? although its very very very small difference

    besides, i like it when people look through stuff and change things around
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •