Results 1 to 3 of 3

Thread: FindText

  1. #1
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default FindText

    I'm trying to find a message which appears in the chatbox but i need to know what the chars would be. It's asking for an integer.
    SCAR Code:
    FindText(x, y, 'earch', font, mcx1, mcy1, mcx2, mcy2);

  2. #2
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Just use SRL's chat functions?

    In core. Chat.scar

    IsChatBoxTextAnyLine(Text: string; TextCol: Integer) : boolean

    Looks like a good one.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  3. #3
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    The Font for the chat box is SmallChars:
    SCAR Code:
    FindText(X, Y, 'earch', SmallChars, MCX1, MCY1, MCX2, MCY2);

    or like Garrett suggested you can use the chatbox functions in Text.scar to find/get text too.

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
  •