// Event Warper NPC (Spiegelman 2042000)
// AstroJack-iAtrafRule!
var status = 0;
function start() {
status = -1;
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.sendSimple("#e#g[Dj Story]#kHello! I'm The Event Warper NPC I Can Warp You Wherever You Want!\r\n#L0##bSleepyWood JumpQuest#l\r\n#L1##rHenesys JumpQuest#l\r\n#L2##bLudibrium JumpQuest#l\r\n#L3##rFM1 BossRun#l\r\n#L4##bEllinia JumpQuest#l\r\n#L5##rB1 JumpQuest#l");
} else if (status == 1) {
if (selection == 0) {
if (cm.getPlayer().getReborns() >= 0) {
cm.warp(109040000,0);
cm.sendOk("Good Luck!! Don't Start Until The GMs Tell You To Start!");
cm.dispose();
} else {
cm.sendNext("Sorry! Try Again Later");
cm.dispose();
}
} else if (selection == 1) {
if (cm.getPlayer().getMesos() >= 0) {
cm.warp(100000202,0);
cm.sendOk("Good Luck!! Don't Start Until The GMs Tell You To Start!");
cm.dispose();
} else {
cm.sendNext("Sorry! Try Again Later");
cm.dispose();
}
} else if (selection == 2) {
if (cm.getPlayer().getReborns() >= 0) {
cm.warp(220000006,0);
cm.sendOk("Good Luck!! Don't Start Until The GMs Tell You To Start!");
cm.dispose();
} else {
cm.sendNext("Sorry! Try Again Later");
cm.dispose();
}
} else if (selection == 3) {
if (cm.getPlayer().getReborns() >= 0) {
cm.warp(910000001,0);
cm.sendOk("Good Luck!! Don't Start Until The GMs Tell You To Start!");
cm.dispose();
} else {
cm.sendNext("Sorry! Try Again Later");
cm.dispose();
}
} else if (selection == 4) {
if (cm.getPlayer().getReborns() >= 0) {
cm.warp(101000100,0);
cm.sendOk("Good Luck!! Don't Start Until The GMs Tell You To Start!");
cm.dispose();
} else {
cm.sendNext("Sorry! Try Again Later");
cm.dispose();
}
} else if (selection == 5) {
if (cm.getPlayer().getReborns() >= 0) {
cm.warp(103000900,0);
cm.sendOk("Good Luck!! Don't Start Until The GMs Tell You To Start!");
cm.dispose();
} else {
cm.sendNext("Sorry! Try Again Later");
cm.dispose();
}
}
}
}
}
זה NPC שלוקח אותך לאיוונט קיים

הכנתי גם אחד שיוציא אתכם משם לFM..
// Event Warper NPC
// AstroJack-iAtraf.
var status = 0;
function start() {
status = -1;
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.sendSimple("#e#g[Dj Story]#kHello! I'm The Event Warper NPC I Can Warp You Back To Free Market!\r\n#L0##bTake Me Back#l");
} else if (status == 1) {
if (selection == 0) {
if (cm.getPlayer().getReborns() >= 0) {
cm.warp(910000000,0);
cm.sendOk("See You Next Event!");
cm.dispose();
} else {
cm.sendNext("Sorry, something go wrong! Try Again Plaese");
cm.dispose();
}
} else if (selection == 1) {
if (cm.getPlayer().getMesos() >= 1) {
cm.warp(910000000,0);
cm.sendOk("Good Luck!! Don't Start Until The GMs Tell You To Start!");
cm.dispose();
} else {
cm.sendNext("Sorry! Try Again Later");
cm.dispose();
}
} else if (selection == 2) {
if (cm.getPlayer().getReborns() >= 0) {
cm.warp(220000006,0);
cm.sendOk("Good Luck!! Don't Start Until The GMs Tell You To Start!");
cm.dispose();
} else {
cm.sendNext("Sorry! Try Again Later");
cm.dispose();
}
} else if (selection == 3) {
if (cm.getPlayer().getReborns() >= 0) {
cm.warp(910000001,0);
cm.sendOk("Good Luck!! Don't Start Until The GMs Tell You To Start!");
cm.dispose();
} else {
cm.sendNext("Sorry! Try Again Later");
cm.dispose();
}
} else if (selection == 4) {
if (cm.getPlayer().getReborns() >= 0) {
cm.warp(910000001,0);
cm.sendOk("Good Luck!! Don't Start Until The GMs Tell You To Start!");
cm.dispose();
} else {
cm.sendNext("Sorry! Try Again Later");
cm.dispose();
}
}
}
}
}
תהנו

ערכתי כי עשיתי משהו לא נכון בכתיבת הסקריפט ><"