![]() |
Script to Check RC Chat
Is it possible to have a script that checks if a certain word is said on RC? Like, for example, could you make a script that automatically disconnects people if they curse on RC Chat? I know that function onRCChat(action) is only called if someone said /npc first.
Thanks for any advice. |
There is, but it's not possible on servers other than login servers or privileged servers.
|
Quote:
|
Quote:
|
Quote:
The only way to get RC chat on normal servers (I've never heard of the privileged server thing and not sure if that's true or not) is with client-RC; onRCChat is called clientside (with the line as a parameter) if you're connected to client-RC. |
Quote:
|
Quote:
Quote:
|
you can do it by parsing the last line out of the MLTextCtrl but that only works if you're using client-rc.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Just parse the RC log file, forgot the file path.
Then check the last lines of it for bad words. |
Quote:
|
All times are GMT +2. The time now is 01:14 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.