אני צריך רק את הקוד באדום אני לא יודע איך להגדיר אם השחקן בפרטי או לא
var status = 0;
var text="you want go to?";
function start() {
status = -1;
bm = cm.getEventManager("Boats");
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (mode == 0) {
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendNext("hello #r #h # #k I'm yeo the Hardest HateSchoolStory PQ (HSS-PQ) NPC.\r\n Do you wanna go in with you're party? \r\n#r BE sure you buy from this shop 1 magical mitten and 6000 big snow")
} else if (status == 1) {
cm.sendSimple("" +text+ "\r\n\r\n#L0##e#rHSS-PQ#l
\r\n#L1#Shop PQ#l");
} else if (status == 2) {
if (selection == 0) {
if(אם השחקן בפרטי)
cm.warpParty(209000015);
else
cm.sendOk("srry you dont in party");
} else if (selection == 1) {
cm.openNpc(9310002);
cm.dispose();
}
}
}
}
}








אני יבדוק את זה 