SRL Archive - Non-RuneScape Scripts

How to do this?..


Peanuts

2012-09-07 07:17:53

Hi. im not very good at scripting..
I made a clay softener.. with some borrowed parts that worked but was very basic.

Anyways i own a chat site and im making a chat room trivia bot.
Will simba work for this?
How would i go about doing this?
Tips? :P

This is a pic of what i want it to do.


The typing is easy, obviously.

I just need to detect the first person to answer the answer i set in.
then some more typing.

Should i be trying a differnt kind of programming language for this?


litoris

2012-09-07 07:36:53

You need to add the font of the chatroom to srl, there are tutorials on doing that. After you are done with it, you need to use GetTextAt or some variation of it to read the text. The simplest way would be to constantly load the chat lines to an array, and when one of the arrays contains the answer string, you filter out the first word to learn the winner's name.

Peanuts

2012-09-18 13:03:56

I cant find these damn tutorials =L !!

litoris

2012-09-18 13:37:05

From: Peanuts
I cant find these damn tutorials =L !!


ಠ_ಠ
I just searched "font" in the titles.