Some player and command code.