Results 1 to 5 of 5

Thread: Is there?

  1. #1
    Join Date
    Nov 2007
    Location
    Nowhereville
    Posts
    1,155
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default Is there?

    Is there a function that scans for a certain phrase in the text box?



    Help!!!
    Formerly known as Cut em2 it

  2. #2
    Join Date
    Nov 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    kind of, you have to find out where the blue pixels are in the text you want, then have a trigger that starts when it finds the pixels

  3. #3
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    function InChat(Text: String): Boolean;

    Use is as

    if InChat('Dog Shit') then
    begin
    Writeln('yay found dog shit in chat box');
    end else
    Writeln(Noo');

  4. #4
    Join Date
    Nov 2007
    Location
    Nowhereville
    Posts
    1,155
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Thanks BobboHobbo, I'll credit you in my next script.
    Formerly known as Cut em2 it

  5. #5
    Join Date
    Jun 2007
    Location
    brooklyn ny
    Posts
    683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you took the words out of my mouth

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
  •