Yes, that has been around for a while. I'll explain it for those that don't know about it.
Use the setpm; command to clear the default pm response, then you get the if (pm) event.
For example:
NPC Code:
if (pm) {
if (strequals(#p(1),message)) {
actions;
}
}