Quote:
Originally Posted by Omini
I want a script to read the log (F2) and if it reads it starting off with...
"PM: received from"
...it triggers an action.
|
It doesn't need to be a requesttext(); since requesttext() is for asking the server for things.
Stefan could probably incorporate functionality for reading from the log window though. If you're looking to detect PMs, there are actual script functions for doing so clientside:
PHP Code:
function onPM(obj)
{
echo(format("PM received from %s", obj.account));
}