- Added warnings so people have a chance to switch themselves and are informed ahead of time of what will happen.
- Added debug log again (messages appear in client console), and I found that a problem is that other plugins might switch around players using "engclient_cmd", which isn't noticed by FTS. I don't know how to catch this apart from going back to checking teams at a regular interval instead of event based (player disconnects or switches to spectators). So this is a known bug in FTS right now, which I only can work around, but not fix. Another work-around would be to patch other plugins (e.g. plmenu, afk kicker) to use client_cmd instead of engclient_cmd. This won't work for bots though.
- Added subsequent checks in case teams were extremely uneven. E.g. several disconnects in a row. I could also even the teams completely at once, but I want to give players time to switch voluntarily before being forced.