madprof / alpha-ioq3

|ALPHA|'s fork of ioquake3
http://www.urtalphaclan.com/
GNU General Public License v2.0
8 stars 4 forks source link

Players named "all" #5

Open madprof opened 14 years ago

madprof commented 14 years ago

Some of the server commands use "all" or "allbots" for certain wildcard expansions, for example the "kick" command. If there's a player named "all" you can't kick that guy using his name without kicking everybody else too. You can of course use the slot number instead to work around the problem. But it should probably be fixed somehow.

madprof commented 14 years ago

Woops, no, that's not right. You can't kick everybody anymore if there's a player named "all" because "kick all" will kick only that one player. In any case, still needs a fix of some sort.

mission commented 13 years ago

i say we make a "kickall" command that takes 0 arguments, and make it cycle through all the players kicking them.. hmm.. maybe let it take an optional reason?

gmorenz commented 13 years ago

if possible wouldn't it make more sense to make all always mean all players and if you have that as your name make it auto-kick you with reason "may not name yourself all", that way there wouldn't have to be a separate command each time you wanted to do something to everyone.

madprof commented 13 years ago

Thanks for the input znerom. That would be a way to handle it. Another would be to auto-rename a player connecting with "all" as their name, to "all_1" or something. In the end I realized that you can simply do "kick all" twice, first to kick the one player, then to kick the rest, so I didn't give this high priority anymore. But yes, it would be nicer to have a fix for it. :-D