When should we use comparisons as conditions?

When we want to show a message if the user's status is onlineWhen we want to always show a user the same messageWhen we want to always skip a code block

When we want to show a message if the user's status is online.