pseudocode for alerts to player

pseudocode for alerts to player