![]() |
Using the Log in scripts?
Is it possible to get the text from the log and do something with it? If possible, I'm guessing it'd be a requesttext(,) but I'm not sure. Any help would be appreciated.
|
I don't understand what you're trying to do.
|
I want a script to read the log (F2) and if it reads it starting off with...
"PM: received from" ...it triggers an action. |
Quote:
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:
|
Oooh, that's how it's done. =) Thanks. Although incorporating functionality for reading from the log window could be helpful in some cases.
|
I don't think reading directly from the log window would be great, but maybe an event that is triggered every time a message is written to it, ie:
PHP Code:
|
There is:
PHP Code:
|
Quote:
|
Quote:
|
Quote:
Quote:
|
Quote:
|
All times are GMT +2. The time now is 10:22 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.