The Folder_OnMessageCreated event is triggered when a message appears in the folder. This can be either the posting of a new critique (the CritiqueNo, a hidden variable on the posted critique, is equal to 0) or the return of a message approved by an administrator (CritiqueNo <> 0), so both cases are handled in this subroutine.
The Folder_OnMessageCreated method first calls the GetEventDetails subroutine to retrieve information on the event. It then calls MakeResponseMessage, which peforms the rest of the message handling; see About the MakeResponseMessage Subroutine.