- Joined
- Sep 2, 2010
- Messages
- 393
- Reaction score
- 10
I have been trying to modify the NPC 'end chat' button to display status = -1; for like half an hour but no success... Can anyone tell me what i'm missing?
I want it to refresh the NPC window upon clicking END CHAT, like start();/status = -1 and etc... it's not working no matter how hard I try!
PHP:
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == 1) {
status++;
} else {
cm.voteMSG();
cm.dispose();
return;
}
if (status == 0) {
cm.sendYesNo("Greetings, earthling! I hear from some folks around here that your name is #b#h ##k. Anyway, #b#eWelcome to RageZone#k#n; we are one of the best servers that exist in terms of creativity and imagination!\r\n \r\nWe are trying to avoid the GMS cherade, #b#eso we will not introduce you to the beginning credits of the MapleStory Jobs.#k#n\r\n \r\n#eAre we ready to begin the RageZone Adventure?#n#k");
} else if (status == 1) {
cm.warp(?????????);
cm.dispose();
} else {
status = -1;
}
}

