初心者クエスト version2

Go down

初心者クエスト version2

投稿 by 構築さん on 2014-05-30, 09:04

Code:
/*
* Coded by:
* Use: Begginner Quest Finisher / Starter pack giver
*/

function start() {
status = -1;
action(1, 0, 0);
}

function action(mode, type, selection) {
if (mode == 1)
status++;
else {
cm.sendOk("#e#kOk, see you next time!");
cm.dispose();
return;
}
if (status == 0) {
if (cm.haveItem(4001126, 30)) {
cm.sendSimple("Congrats! Which starter pack would you like? \r\n#L0# Magician \r\n#L1# Thief \r\n#L2# Pirate \r\n#L3# Archer \r\n#L4# Warrior ");
} else {
cm.sendOk("Sorry, you need to collect 30 #v4001126#, then talk to me again. Get #v4001126#s by killing the monsters! ");
cm.dispose();
}
} else if (status == 1) {
if (selection == 0) {
cm.gainItem(1002419, 1);
cm.gainItem(1302067, 1);
cm.gainItem(1372037, 1);
cm.gainItem(2022179, 5);
cm.gainItem(2000005, 100);
cm.warp(910000000);
cm.changeJobById(200);
cm.gainItem(4001126, -30);
cm.modifyNX(5000, 4);
cm.getPlayer().maxAllSkills();
cm.sendOk("Have a great time in Royal Ms! Remember to use @help for some server info, and @commands for commands!");
cm.dispose();
} else if (selection == 1) {
cm.gainItem(1002419, 1);
cm.gainItem(1302067, 1);
cm.gainItem(1472052, 1);
cm.gainItem(1332050, 1);
cm.gainItem(2022179, 5);
cm.gainItem(2000005, 100);
cm.warp(910000000);
cm.changeJobById(400);
cm.gainItem(4001126, -30);
cm.modifyNX(5000, 4);
cm.getPlayer().maxAllSkills();
cm.sendOk("Have a great time in Royal Ms! Remember to use @help for some server info, and @commands for commands!");
cm.dispose();
} else if (selection == 2) {
cm.gainItem(1002419, 1);
cm.gainItem(1302067, 1);
cm.gainItem(01492022, 1);
cm.gainItem(01482013, 1);
cm.gainItem(2022179, 5);
cm.gainItem(2000005, 100);
cm.warp(910000000);
cm.changeJobById(500);
cm.gainItem(4001126, -30);
cm.modifyNX(5000, 4);
cm.getPlayer().maxAllSkills();
cm.sendOk("Have a great time in Royal Ms! Remember to use @help for some server info, and @commands for commands!");
cm.dispose();
} else if (selection == 3) {
cm.gainItem(1002419, 1);
cm.gainItem(1302067, 1);
cm.gainItem(1452044, 1);
cm.gainItem(1462039, 1);
cm.gainItem(2022179, 5);
cm.gainItem(2000005, 100);
cm.warp(910000000);
cm.changeJobById(300);
cm.gainItem(4001126, -30);
cm.modifyNX(5000, 4);
cm.getPlayer().maxAllSkills();
cm.sendOk("Have a great time in Royal Ms! Remember to use @help for some server info, and @commands for commands!");
cm.dispose();
} else if (selection == 4) {
cm.gainItem(1002419, 1);
cm.gainItem(1302067, 1);
cm.gainItem(1302059, 1);
cm.gainItem(1312031, 1);
cm.gainItem(1322052, 1);
cm.gainItem(1442045, 1);
cm.gainItem(1432038, 1);
cm.gainItem(2022179, 5);
cm.gainItem(2000005, 100);
cm.warp(910000000);
cm.changeJobById(100);
cm.gainItem(4001126, -30);
cm.modifyNX(5000, 4);
cm.getPlayer().maxAllSkills();
cm.sendOk("Have a great time in Royal Ms! Remember to use @help for some server info, and @commands for commands!");
cm.dispose();
}
}
}
avatar
構築さん
Admin

Posts : 193
Join date : 2014/05/29

http://maplescience.forumjap.com

トップに戻る Go down

トップに戻る


 
Permissions in this forum:
返信投稿: 不可