• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Find a text on screen

dennysrocha

New Member
Joined
Apr 11, 2020
Messages
1
Reaction score
0
Hi guys! That’s my first topic :)
I’m trying to make a script to read some texts in screen and then do an action (specifically, the “say”) if it matches with a predefined text.

The issue: at some moments, my character displays a animated text saying “Anti-Bot code X”, where X is an number from 0 to 9. I need to read the number and say it at the format say(“!anti-bot code X”).

Is there a way to read every text in screen and then, if the text match to the predefined texts (“Anti-Bot code X”), do “say” action?

Thanks!
 
Back
Top