In that case, in Control-NPC:
PHP Code:
function onCreated() {
this.setPM(""); // reset the reply PM
}
function onInitialized() {
this.trigger("created"); // if the server restarts
}
// the parameters are lines
function onPM(p0, p1, p2, p3) { // first parameter isn't used
if (p1 == "eventsapp") {
player.sendPM("Events Application:\nStuff here!");
}
}