scripts/battle: added optional kicking on player death
lib/command: added optional parameter to check op status