new-thegrex-source / cqvm

not my repo, i imported this from google code
Other
0 stars 0 forks source link

Automute flags #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Need to have flags, for use on say, level -1, for Automute

Ideal flag name would be AUTOMUTE.

Original issue reported on code.google.com by Paradox460 on 7 Jun 2009 at 10:46

GoogleCodeExporter commented 9 years ago

Original comment by Paradox460 on 7 Jun 2009 at 10:47

GoogleCodeExporter commented 9 years ago
Due to the way ALLFLAGS works, adding such a flag will result in an admin that 
had
ALLFLAGS to also be AUTOMUTE. There needs to be an addition to the flag system 
so
that some flags must be specified directly and not covered by ALLFLAGS.

Easiest solution is to just have flags that begin with a special character not 
be
effected by ALLFLAGS, in this case the flag would then be _AUTOMUTE, for 
example.

There are several good characters to use for this, by prefenece: _ # @ *

Original comment by Rez...@gmail.com on 9 Jun 2009 at 12:38

GoogleCodeExporter commented 9 years ago
Perhaps we could use the linux . syntax. You know, the one for hidden files?

Eg
.AUTOMUTE

Original comment by Paradox460 on 9 Jun 2009 at 10:12

GoogleCodeExporter commented 9 years ago

Original comment by Paradox460 on 10 Jun 2009 at 11:06

GoogleCodeExporter commented 9 years ago
Commited in r27

added .NOCHAT - automatically mutes player when they connect
added .NOVOTE - player can not call votes

flags beginning with "." are not included by ALLFLAGS
ALLFLAGS behaviour is now consistent regardless of order within flags.

Original comment by Rez...@gmail.com on 31 Aug 2009 at 6:24