I need to use this gender check:
with this NPC script:PHP Code:if(cm.getPlayer().isMale()) {
and where it says: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 #dgirlfriend #kbecause I love her so much!" ,3);
} else if (status == 2) {
cm.sendNext("We already told you that you #baren't allowed to even have a girlfriend! #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()
}
}
}
I need it to say boyfriend instead of girlfriend if I use else but this is all very confusing to me. Any help?PHP Code:cm.sendNext("You guys are being so unreasonable! All I did was sneak out so I could see my #dgirlfriend #kbecause I love her so much!" ,3);


Reply With Quote


