SRL Archive - OSR Help

Responding to chat messages?


Millenium

2013-05-04 21:01:14

I've been looking for something to make and thought about making a bot to find people and wait for certain trigger words then reply with a response. Just something fun to watch also to see if anyone starts to have a conversation with a bot…
However I'm unsure what I can use for chat detection from the player. Any ideas please?

t4q

2013-05-05 04:28:06

This function finds text between set lines in chat box:
IsChatBoxTextBetween(Text: string; TextCol, StartLine, EndLine: Integer)