Results 1 to 4 of 4

Thread: finding game chat

  1. #1
    Join Date
    Feb 2012
    Posts
    119
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Cool finding game chat

    Is there a function that can "monitor" game chat so that if it finds something it will move onto another procedure/function. I dug through scripts and found this.

    Simba Code:
    if pos( 'stunned', GetblackChatMessage) <> 0 then

    I'm thinking if i did this

    Simba Code:
    if pos( 'stunned', GetblackChatMessage) > 0 then

    It might work?

  2. #2
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    I use this -

    If FindBlackChatMessage('isn') Then

    Instead of isn put a few characters of whatever text you are looking for

  3. #3
    Join Date
    Feb 2012
    Posts
    119
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ashaman88 View Post
    I use this -




    Instead of isn put a few characters of whatever text you are looking for
    Thanks



    Do i need to put
    begin

    end; between this case?

    If FindBlackChatMessage('fail') Then
    Case Random(2) of
    1:Wait(4000);
    2:Antiban;
    end;
    Last edited by Littellj; 03-07-2012 at 03:46 AM.

  4. #4
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Littellj View Post
    Thanks



    Do i need to put
    begin

    end; between this case?
    No, you usually do not need a begin/end for one line cases (it's the same deal with if/then).

    ~Caotom

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
  •