It's actually lines.
I.e:
Quote:
Hello World
This is a pm.
|
Results in...
PHP Code:
params = {
"", // Some sort of reference, useless though since player. is accessible.
"Hello World",
"This is a pm."
};
Therefore...
PHP Code:
function onPM(p0, p1) {
// If you need the whole message in a string (delete this otherwise)
// you can put it together like this:
for (temp.line: params.subarray(1)) {
temp.message @= temp.line NL "";
}
// Or just check the first line
if (p1 == "eventsapp") {
player.sendPM("Events Application:\nStuff here!");
}
}