Quote:
|
Originally Posted by Torankusu_2002
Why the hell does the first param have to be set to "something" ?
|
You can make it whatever you want. I don't know what it is, so i called it 'something'.
You can also just do.
PHP Code:
function onPM() {
if (params[1] == "test") {
sendpm("yay");
}
}
(Keep in mind that params[1] is really the second parameter. Arrays start at 0.)