Saikou
2006-06-12 19:26:33
So, I was sitting here working on some of my latest PHP scripts, and I got to a part in one of my recent installers…And I'm writing this code, something similiar to this:
Now..Pretty simple, the variable $_POST['text'] is a input from a form called "text". The value of the text is added by the user, but if the value is "Hello World" then, echo (which means to print it on the screen) "Hello World".
Now, to make this link to RuneScape and SRL.
If you're mining iron, and you're doing it repetitively, and someone says "Hey, I think (your name here) is macroing."….And you're not…What would you do? I think I'd respond..Something rather disturbing that I wouldn't post on these forums, but you get the point.
My question is:
A) Does SRL and/or SCAR have the ability to read and identify chat text?
Example: Someone says you're mac'ing, the script recognizes it and enters a response, makes the script seem more human.
Now, the basic part of this script is the if, then echo part…I can handle that, but I have no clue about reading chat. :S
It would have to read for words like "auto" "macro" "cheat" etc, in conjunction with your username, both variables..
Enough rambling, do you think it could be done?
if ($_POST['text'] == 'Hello World') {
echo $_POST['text'];
}
Now..Pretty simple, the variable $_POST['text'] is a input from a form called "text". The value of the text is added by the user, but if the value is "Hello World" then, echo (which means to print it on the screen) "Hello World".
Now, to make this link to RuneScape and SRL.
If you're mining iron, and you're doing it repetitively, and someone says "Hey, I think (your name here) is macroing."….And you're not…What would you do? I think I'd respond..Something rather disturbing that I wouldn't post on these forums, but you get the point.
My question is:
A) Does SRL and/or SCAR have the ability to read and identify chat text?
Example: Someone says you're mac'ing, the script recognizes it and enters a response, makes the script seem more human.
Now, the basic part of this script is the if, then echo part…I can handle that, but I have no clue about reading chat. :S
It would have to read for words like "auto" "macro" "cheat" etc, in conjunction with your username, both variables..
Enough rambling, do you think it could be done?