execute if score $mini_type mem matches 3 run function mini:hotpm/player_leave