Hello everyone,
I'm going to share some scripts that although have been made for a very peculiar kind of server, some of you may find them interesting and useful and could adapt them to your own servers.
_______________________________________________________________
Basically, this a fully working World Chat through the Yell command (!) with Mute functions.
Typing "! Hello" will, by default, broadcast "Hello" or any other message you'd like to everyone online at the moment.
If you don't like this system under the Yell command (!), you can always replace it with another function, you just need to swap the [SPEECH spk_player] found in the script with [FUNCTION c] for example, and then you can use ".c Hello" rather than "! Hello".
By typing ".chat" you will be able to access this menu:
Through this menu you have the option to disable/enable the world chat, what means you will stop hearing what other players write and won't be able to write for them either.
You can also change the color of the chat, being available 4 different colors at the moment. You can change/add/remove them easy in the script.
Under the "Players Muted List" you will have the name of the players you have muted from the world chat, a.k.a. those who may read what you write, in case they haven't muted you as well, but you won't read anything of what they type.
To mute a player all you have to do is type ".playermute <Player Name>". If that player is online and you typed the name correctly, he will be muted.
To unmute a player you can either click the blue button found behind the desired player name in the ".chat" menu or type ".playerunmute <Player Name>". The player doesn't need to be online in order for you to unmute him. You can also click "Unmute all players" to unmute all players currenctly muted.
You can have up to 10 muted players with this script, but you can always change it to more or less to suit your needs.
Staff members also have access to the world chat, but through a different function, so you can not mute them. Well, you can, but it won't do anything because you will still be hearing from them.
Staff members may use ".worldchatmute" to permanently disable the world chat for everyone until they type the same function again to enable it back (".worldchatmute").
Staff members can also type ".mute <Minutes>" to mute a player from the world chat for X minutes. A muted player by a staff member won't be able to speak, but will still be able to read what is being said through the world chat. Players will be unmuted after the X minutes or you can also type ".unmute" to unmute them.
I guess I'm not forgetting anything. Any question just ask.
Cya.