![]() |
onRemotePlayerChats(obj, str) for NPC's
PHP Code:
|
Quote:
|
I would like to have a way to change the own player.chat locally. Yea, I know, sounds awkward. Let me explain. Let's say the player enters "Hi there" into the chat bar and hits enter. Let's also assume that some dork added "there" to the clientside swear filter. Last, but not least, the player has this swear filter enabled (it's optional :redface:), but most of the other players don't. My goal: filter the word locally for the player, and show it to those who have the filter disabled.
Way too complicated explanation for such an easy thing. Well, you hopefully know what I mean anyway. |
Quote:
|
Quote:
PHP Code:
|
Quote:
|
I guess I forgot to tell you guys that onRemotePlayerChats() doesn't get triggered when you yourself chat.
Edit: Also, it seems you misunderstood me, Dusty. I want to achieve a swear filter which each player can toggle for themselves, so they either see every swear word, or they don't. There's not supposed to be a mix between visible swear words and censored ones. |
Quote:
However, I wouldn't be opposed to a sort of player.localchat var or something. edit: That's exactly what onRemotePlayerChats() will achieve. I can toggle on swear filter and then use onRemotePlayerchats() to censor the chat of all the other players on my screen without actually changing what they say. They get to swear and I get to censor it for myself. |
Well, I think it's a bit awkward if your own chat doesn't get filtered.
|
Quote:
|
Quote:
|
Quote:
Personally speaking I think a word filter is useless. It would be much more efficient and logical to have an option to ignore/unignore an individual player's chat in-game, which would simply prevent the ignored player's chat from being displayed to the ignoring player at all. ^^ |
Quote:
|
Quote:
Consider: "You're an a55hole noob loser." > "You're an ******* noob loser." There is no difference between the two as both are obviously meant to be insulting. The fact that the insulting nature of the statement doesn't change is reason enough to simply have an ignore option. Just my opinion of course, but again, I see little to no real logic in implementing a filter. Being completely ignored has a much more dramatic impact on asinine people, as it is generally the attention they garner from upsetting people that provides them with the motivation to do so. Remove the motivation, the behavior tends to change. For those people who don't care, my suspicion is that they don't care to the extent that it will lead to their no longer being able to play for other reasons (committing violations that leave them jailed and/or banned for periods of time). |
Quote:
|
Quote:
PHP Code:
|
Folks, can we please get back to the original issue? Crow, make your own thread >:/
|
Quote:
Quote:
In any event, other servers are of course free to implement whatever rules and deterrents they choose to implement, and my feelings on the matter only reflect my own opinion and intentions not to implement what I consider unnecessary on a server in which I am responsible for. I'm pretty simple in that regard: You either need to ignore someone, or it isn't big enough of a deal whatever it is they're saying. Again, I don't disagree that some of what you said has merit, I just don't agree that a filter is a necessary device in general. |
Quote:
|
Quote:
As for the original topic, it's done, what more is there to talk about, really? |
Quote:
Regarding the original topic, I'll just echo what Dusty said. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 11:50 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.