DESCRIPTION
When the teams are stacked and a client attempts to join the winning team, the client gets teleported to the enemy base to be humiliated by death (w/ instant respawn). The humiliation ends when the opposite team kills the client 10 times.
CVARS
tf_teamswitch_hum_version - Plugin version
tf_teamswitch_hum_enabled - Enable/Disable Def: 1
tf_teamswitch_hum_threshold - Threshold that determines if the client's team is losing (float) Def: 0.80
tf_teamswitch_hum_num_humiliations - Number of times to humiliate the client at the opposite spawn (int) Def: 10
EXAMPLE
(Client Team's Combined Score / Opposite Team's Combined Score) <= Threshold
ex. client is blue, BLU team has 137 points and RED has 200
137/200 <= 0.80 (threshold) --> Humiliate player that switched
CHANGELOG
v1.0 - Initial Release
v1.01 - Fixed a minor bug
v1.02 - Fixed IsClientInGame error
v1.03 - Fixed error while trying to get client team on disconnect
NOTES
* Direct any bugs, suggestions, ideas, etc to this thread
* Thanks to the sourcemod community!