Added second parameter type check for /hp command