SRL Archive - Help

FindText


DeSnob

2009-08-16 05:26:46

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.
FindText(x, y, 'earch', font, mcx1, mcy1, mcx2, mcy2);

3Garrett3

2009-08-16 05:31:00

Just use SRL's chat functions?

In core. Chat.scar

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

Looks like a good one.

ZephyrsFury

2009-08-16 13:11:00

The Font for the chat box is SmallChars:

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.