Files

> > CS2D > Lua Scripts > Mute Player Script
Files overviewCS2D overviewLua Scripts overview

English Mute Player Script >

18 comments2 kb, 510 Downloads

old Mute Player Script

limonata
User Off Offline

Hi, in the forum there is only one mute script made by Patatuss, so i thought it'll be good to make one. Here is simple mute script to prevent some players which is indiscreet.

> !mute [id] [seconds] Mute player for stated seconds.
> !mute [id] Mute player forever.
> !all Mute all players except admins.

To unmute player (if already muted)
Just type again
> !mute [id]

Same as for unmute all players.
> !all

Special thanks to user sheeL
edited 2×, last 28.02.16 09:31:28 pm
Approved by Sparty

Download Download

2 kb, 510 Downloads

Comments

18 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old Cool

faizaster
User Off Offline

This is actually cool
simple script to mute
I like it!

old

Lobwver
User Off Offline

user Kirito2K hope you're trolling, he already explained it a million times.

Please everyone read this: The point of this is that the file have an independent mute script.
Independent mute script?: Ins't an addon of other scripts, its a 100% mute script and nothing more = can be used on standard mode.

Looks fine, keep it up.

old

Kirito2K
User Off Offline

Why you would make this script since there is already admin scrips can mute , kick and ban ?

In my opinion , this is useless

old

Sparty
Reviewer Off Offline

Basically, Not in F.A..so its fine
I like it!

old

4Vendetta
User Off Offline

@user Theory: Not here in unrealsoftware.de
I like it!

old

Theory
BANNED Off Offline

I think it is useless, just because there is like 50+ scripts with the same fuction as it has.
edited 1×, last 15.03.16 04:18:17 am

old

TopNotch
User Off Offline

user limonata has written
Can you show me just one mute script in this forum ?
You can't. Its usually entegred in the main script. Thats why i shared this. But you are right about new ideas,scripts.

You're right here, but I hope you won't upload every separate command now.

old

BcY
Reviewer Off Offline

I think its pretty useful.
I like it!

old

4Vendetta
User Off Offline

Very nice, helpful. And the way you wrote the code , made ​​it easy to understand and edit.
I like it!

old

NinjaD Dragon
User Off Offline

Dude it's so nice
I like it!

old

Talented Doge
User Off Offline

I thought there were muting scripts.

old

limonata
User Off Offline

user VADemon

Thanks for your comment. Title edited.

old

VADemon
User Off Offline

I like the idea of a separate small script, the commands are fine, extra point for the temporary mute command. Only one thing bothers me is the generic name of the !all command, would be good if you changed it to !muteall to reflect it's real purpose.
The code itself is okayish, you definitely need to use more local variables, especially inside functions, and make use of your script's global table to avoid interfering with other scripts (for example, your adminList table should be inside the mute table since there might be other poorly written scripts that would overwrite your table etc.)

PS: Mute script 2016 isn't downright the best name on earth
I like it!

old

limonata
User Off Offline

user GeoB99

Except entegred scripts no, i dont know may you give me link ?

old

GeoB99
Moderator Off Offline

There are mute scripts with ton in Forum section, you know.

old

limonata
User Off Offline

user GeoB99

Can you show me just one mute script in this forum ?
You can't. Its usually entegred in the main script. Thats why i shared this. But you are right about new ideas,scripts.

old

GeoB99
Moderator Off Offline

The script looks decent in terms of coding but the idea isn't new. Furthermore, there aren't new improvements in it since the command parameter [seconds] is quite easy to implement for example.

I'd suggest firstly to check the whole Scripts section of File Archive before uploading something. In this way, you can upload way better scripts which bring interesting / new ideas.

old

Gaios
Reviewer Off Offline

Not bad, not good at 2016
To the start Previous 1 Next To the start