Yes all on one event, and you should be able to do it in one function. The rough idea is:
myCustomClickEvent {
clickCount = clickCount+1;
if (clickCount == 1) { message1.style.visibility = visible; }
else if (clickCount == 2) { message2.style.visibility = visible; }
else if (clickCount == 3) { message3.style.visibility = visible; }
}
You would initialize elsewhere, like when the page loads and before any clicks are registered:
var clickCount = 0
var message1 = document.querySelector('#message1);
var message2 = document.querySelector('#message2);
etc..
And ensure your messages have the ids set to match above, for example: "message1", etc.
You may also have to turn off other messages to avoid having more than one appear at a time.
Hopefully this gets you started.