Do thank me.
PHP Code:
/* NPC created by Stevie of Kerning City v83
*/
var status;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1)
cm.dispose();
else {
if (mode == 1)
status++;
else
status--;
}
if (status == 0) {
cm.sendNext("You're grounded again! And this time, we're going to make sure that you're grounded #runtil you graduate from high school! #kThat's right, buster, you're going to be sitting in your room #bfor the next three years #kso you can figure out how to act like a normal person!");
} else if (status == 1) {
cm.sendNext("You guys are being so unreasonable! All I did was sneak out so I could see my #d" + cm.getPlayer().getGender() == 0 ? "girlfriend" : "boyfriend" + "#kbecause I love " + cm.getPlayer().getGender() == 0 ? "her" : "him" + "so much!", 3);
} else if (status == 2) {
cm.sendNext("We already told you that you #baren't allowed to even have a " + cm.getPlayer().getGender() == 0 ? "girlfriend" : "boyfriend" + "#kWhat do we have to do to get this information through your thick, stubborn skull? If #rforcing you to sit in your room for the next three years #kwill teach you a lesson, then you better believe that we aren't kidding around here!");
} else if (status == 3) {
cm.sendNext("Whatever, we'll see about that!" ,3);
} else if (status == 4) {
cm.sendOk("#eWhat the fuck did you just mutter under your breath? \r\n#nGet up to your room right now, and #rprepare yourself for a mighty beatdown #kin a few minutes to teach you not to talk back to us like that!");
} else if (status == 5) {
cm.warp(30001, 0);
cm.dispose()
}
}
Edit: Ninja'd. Only read that you fixed it after posting.