Hi,
I wounder if there is any way to prevent a message being displayed from the script. e.g Don't display a message if it is more than 400 characters.
Or is it too late when the mesage arrives to the script? does this happen after the message is displayed in the chat?
I know there is a feature for this in the hub settings, but using that generates problems, since it applies to all users, OP's as well as regular users.
Regards, Gaborone
Prevent spamming and flooding the chat.
Moderator: Moderators
-
ButterflySoul
- Posts: 210
- Joined: 2003-01-23 22:24
- Location: Nevada
-
Gaborone
- Posts: 13
- Joined: 2003-02-27 21:34
Issue closed
Thanks for all the help.
The way to deal with the problem is to us Gadget's modified hub software, and take over the control of the chat messages in the script.
/Gaborone
The way to deal with the problem is to us Gadget's modified hub software, and take over the control of the chat messages in the script.
/Gaborone
-
ButterflySoul
- Posts: 210
- Joined: 2003-01-23 22:24
- Location: Nevada
lemme see an example that will block chat going to main with an unmodified hub
Gaborone's question was a double one. He obviously knew how to script, but didn't know what method/property to use in order to track people's characters sent to the main chat in a way similar to the hub's feature tracking everyone's characters.
In order to use the same counter of the hub, but make a difference in between OPs and regular users (which was his first question), you need to use the iChatCharactersInLastMinute method of an user object.
I don't think his second problem - blocking the chat from being sent to everyone - can be archieved without a modified hub.
The original hub has obviously a filtering function built-in since the cpm-based filter of an unmodified hub does work. However, I don't know if you can call this filter from a script, and in the unlikely case you can, I definitely don't know how.
Who is online
Users browsing this forum: Google [Bot] and 0 guests