Results 1 to 2 of 2

Thread: Disable InMultiChat

  1. #1
    Join Date
    Dec 2007
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Disable InMultiChat

    ok here's what I have.

    if (InChatMulti('he', 'ell', 'llo', 'yo')) then
    begin
    Wait(500 + Random(500));
    TypeSend('whats up?');
    end;

    now once that is called I want to stop it from being able to be called for 10 minutes. Is there a way to disable it and then re-enable it? What i don't want to happen is someone come up and start talking to me.... and happen to say Yellow or you or anything and realize that no matter what he says I keep typing 'whats up?' Thank you all for being so helpful. decide

  2. #2
    Join Date
    Aug 2007
    Posts
    429
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    idk, here's one way to do it:

    SCAR Code:
    var
      ChatTime : Integer;
      ChatEnabled : Boolean;



    if not ChatEnabled then
    begin
      if (InChatMulti('he', 'ell', 'llo', 'yo')) then
      begin
        Wait(500 + Random(500));
        TypeSend('whats up?');
        ChatEnabled := True;
        MarkTime(ChatTime);
      end;
    end else
    begin
      if (TimeFromMark(ChatTime) >= (10 * 60 * 1000)) then
      begin
        if (InChatMulti('he', 'ell', 'llo', 'yo')) then
        begin
          Wait(500 + Random(500));
          TypeSend('whats up?');
          MarkTime(ChatTime);
        end;
      end;
    end;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Command Prompt for Schools That Disable It
    By Widget in forum Computer Help and Tutorials
    Replies: 19
    Last Post: 08-07-2008, 02:03 AM
  2. How To Disable Flash Advertisements
    By snafuswish in forum Computer Help and Tutorials
    Replies: 9
    Last Post: 11-25-2007, 02:55 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
  •