Create bothandler-testing.py

Recoded parts of the original script to be able ignore players that are in spectator.
Cleaned up event handling for better efficiency.