メイプルリーフ交換NPC

Go down

メイプルリーフ交換NPC

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

Code:
/*
* Coded By:
* Edited by:
* Use: Maple Leaf Trader
*/



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) {
cm.sendSimple("#e#rHi There, I Am The MapleLeaf Mega Shop Of #rDevineStory" +
"\r\n#L86##v1002080#Common Equips ( Rare )" +
"\r\n#L80##v1122001#Trade Maple Leafs for Common Equips" +
"\r\n#L82##v2022282#Trade Maple Leafss for Buff Potions" +
"\r\n#L83##v1402046#Trade Maple Leafs For Timless Equips" +
"\r\n#L84##v1002140#Trade Maple Leafs for Godly Hats" +
"\r\n#L87##v1812001#Trade MapleLeafs For Pet Equips" +
"\r\n#L85##v4001129#Trade MapleLeafs For MapleCoins");
} else if (selection == 80) {
cm.sendSimple ("#gWhat do you want?#k #e#d" +

"\r\n#L1##bTrade 300 Maple Leafs for Blue Sauna" +
"\r\n#L2##gTrade 200 Maple Leafs for Red Sauna" +
"\r\n#L3##rTrade 500 Maple Leafs for Face Stompers" +
"\r\n#L4##bTrade 100 Maple Leafs for Icecream Bars" +
"\r\n#L5##gTrade 500 Maple Leafs for Stormcaster Glove" +
"\r\n#L6##rTrade 400 Maple Leafs for Horntail Necklace with 3 Dragonstones");
} else if (selection == 81) {
cm.sendSimple ("#bPick one#k#e#d" +
"\r\n#L8##bTrade 700 Maple Leafs for Bottomwear for DEF" +
"\r\n#L9##rTrade 700 Maple Leafs for Bow for ATT" +
"\r\n#L10##gTrade 700 Maple Leafs for Cape for Magic DEF" +
"\r\n#L11##bTrade 700 Maple Leafs for Claw for ATT" +
"\r\n#L12##rTrade 700 Maple Leafs for Claw for ATT" +
"\r\n#L13##gTrade 700 Maple Leafs for Crossbow for ATT" +
"\r\n#L14##bTrade 700 Maple Leafs for Dagger for ATT" +
"\r\n#L15##rTrade 700 Maple Leafs for Gloves for ATT" +
"\r\n#L16##gTrade 700 Maple Leafs for Gloves for DEX" +
"\r\n#L17##bTrade 700 Maple Leafs for Helmet for DEF" +
"\r\n#L18##rTrade 700 Maple Leafs for Helmet for HP" +
"\r\n#L19##gTrade 700 Maple Leafs for One-Handed Axe for ATT" +
"\r\n#L20##bTrade 700 Maple Leafs for One-Handed BW for ATT" +
"\r\n#L21##rTrade 700 Maple Leafs for One-Handed Sword for ATT" +
"\r\n#L22##gTrade 700 Maple Leafs for Overall Armor for DEX" +
"\r\n#L23##bTrade 700 Maple Leafs for Pole Arm for ATT" +
"\r\n#L24##rTrade 700 Maple Leafs for Shield for DEF" +
"\r\n#L25##gTrade 700 Maple Leafs for Shoes for DEX" +
"\r\n#L26##bTrade 700 Maple Leafs for Shoes for Jump" +
"\r\n#L27##rTrade 700 Maple Leafs for Shoes for Speed" +
"\r\n#L28##gTrade 700 Maple Leafs for Spear for ATT" +
"\r\n#L29##bTrade 700 Maple Leafs for Staff for Magic ATT" +
"\r\n#L30##rTrade 700 Maple Leafs for Topwear for DEF" +
"\r\n#L31##gTrade 700 Maple Leafs for Two-Handed Aex for ATT" +
"\r\n#L32##bTrade 700 Maple Leafs for Two-Handed BW for ATT" +
"\r\n#L33##rTrade 700 Maple Leafs for Two-Handed Sword for ATT" +
"\r\n#L34##gTrade 700 Maple Leafs for Wand for Magic ATT");
} else if (selection == 82) {
cm.sendSimple ("Pick one#e#d" +
"\r\n#L35##gTrade 50 Maple Leafs for 10 Heartstoppers" +
"\r\n#L36##bTrade 50 Maple Leafs for 10 Onyx Apples" +
"\r\n#L37##rTrade 50 Maple Leafs for 25 Onyx Apples" +
"\r\n#L38##gTrade 50 Maple Leafs for 60 Onyx Apples" +
"\r\n#L39##bTrade 50 Maple Leafs for 5 Demon Elixirs" +
"\r\n#L40##rTrade 20 Maple Leafs for 13 Demon Elixirs" +
"\r\n#L41##gTrade 50 Maple Leafs for 30 Demon Elixirs" +
"\r\n#L42##bTrade 50 Maple Leafs for 5 Swiss Cheese" +
"\r\n#L43##rTrade 10 Maple Leafs for 13 Swiss Cheese" +
"\r\n#L44##gTrade 30 Maple Leafs for 40 Swiss Cheese");
} else if (selection == 83) {
cm.sendSimple ("Hello, I am the #bTimesless Weapon Seller#k,\r\nYes we have #bTimeless Weapons...#k.\r\n#dIf you give me#k #b30#k #dof these#k #b#v4001126##k #rMaple Leafss,#k #dI will excange it for a#k #bTimeless Weapon.#k #r Choose the following you would like to exchange for...#k#d" +
"\r\n#L45##gTrade 1000 Maple Leafs for a #i1482023##k #d Timeless Knuckle" +
"\r\n#L46##bTrade 3000 Maple Leafs for a #i1302081##k #d Timeless Carabella " +
"\r\n#L47##rTrade 2000 Maple Leafs for a #i1312037##k #d Timeless Axe " +
"\r\n#L48##gTrade 3000 Maple Leafs for a #i1322060##k #d Timeless Flame " +
"\r\n#L49##bTrade 3000 Maple Leafs for a #i1402046##k #d Timeless Clalymore " +
"\r\n#L50##rTrade 2000 Maple Leafs for a #i1412033##k #d Timeless Battle Axe " +
"\r\n#L51##gTrade 2000 Maple Leafs for a #i1422037##k #d Timeless Maul ");
} else if (selection == 84) {
cm.sendSimple ("Hmm.. GM equips you say... It's pretty hard to get!#e#d" +
"\r\n#L52##g5000 Maple Leafs for GM Hat" +
"\r\n#L53##b8000 Maple Leafs for Custom MSI (1)" +
"\r\n#L54##r8000 Maple leafs for Custom MSI (2)");
} else if (selection == 85) {
cm.sendSimple ("You To Rich ? Need A Storage Item Buy A MapleCoin ! When You Want To Exchange Them Back To Meso Talk To #e#d" +
"\r\n#L55##r2000 Maple Leafs for 5 MapleCoins" +
"\r\n#L56##g5000 Maple Leafs for 10 MapleCoins" +
"\r\n#L57##b8000 Maple Leafs for 20 MapleCoins");
}
else if (selection == 86) {
cm.sendSimple ("If you have too many MapleLeafs, you can always trade here#e#d" +
"\r\n#L58##b5000 Maple Leafs for 1 Red Work Gloves" +
"\r\n#L59##g5000 Maple Leafs for 1 Blue Work Gloves" +
"\r\n#L60##r5000 Maple Leafs for 1 Purple Work Gloves"+
"\r\n#L0##b5000 Maple Leafs for 1 Brown Work Gloves" +
"\r\n#L62##g5000 Maple Leafs for 1 Grey Work Gloves" +
"\r\n\r\n\r\n#L63##g6000 Maple Leafs for 1 Red Bandana" +
"\r\n#L64##r6000 Maple Leafs for 1 Blue Bandana" +
"\r\n#L65##b6000 Maple Leafs for 1 Yellow Bandana" +
"\r\n#L66##g6000 Maple Leafs for 1 Black Bandana" +
"\r\n#L67##r6000 Maple Leafs for 1 Purple Bandana");

} else if (selection == 87) {
cm.sendSimple ("Hello, I am the #bPet Equip Seller#k,\r\nPick One" +
"\r\n#L68##gTrade 50 Maple Leafs for a #i1812006##k #d Magic Scales" +
"\r\n#L69##bTrade 50 Maple Leafs for a #i1812005##k #d Binoculars " +
"\r\n#L70##rTrade 50 Maple Leafs for a #i1812004##k #d Wing Boots " +
"\r\n#L71##gTrade 50 Maple Leafs for a #i1812000##k #d Meso Magnet " +
"\r\n#L72##bTrade 50 Maple Leafs for a #i1812001##k #d Item Pouch ");
} else if (selection == 0) {
if (cm.haveItem(4001126, 5000)){
cm.gainItem(1082149, 1);
cm.gainItem(4001126, -5000);
cm.sendOk("Nice job, Here is your Brown Work Glove");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 1) {
if (cm.haveItem(4001126, 300)){
cm.gainItem(1050018, 1);
cm.gainItem(4001126, -300);
cm.sendOk("Nice job, Here is your Blue Sauna");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 2) {
if (cm.haveItem(4001126, 200)){
cm.gainItem(1051017, 1);
cm.gainItem(4001126, -200);
cm.sendOk("Nice job, Here is your Red Sauna");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 3) {
if (cm.haveItem(4001126, 500)){
cm.gainItem(1072344, 1);
cm.gainItem(4001126, -500);
cm.sendOk("Nice job, Here is your Face Stompers");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 4) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(1012070, 1);
cm.gainItem(1012071, 1);
cm.gainItem(1012072, 1);
cm.gainItem(1012073, 1);
cm.gainItem(4001126, -100);
cm.sendOk("Nice job, Here is your Icecream Bars");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 5) {
if (cm.haveItem(4001126, 500)){
cm.gainItem(1082223, 1);
cm.gainItem(4001126, -500);
cm.sendOk("Nice job, Here is your Stormcaster Glove");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 6) {
if (cm.haveItem(4001126, 400)){
cm.gainItem(1122000, 1);
cm.gainItem(2041200, 3);
cm.gainItem(4001126, -400);
cm.sendOk("Nice job, Here is your Horntail Necklace");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 7) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(1122001, 1);
cm.gainItem(1122002, 1);
cm.gainItem(1122003, 1);
cm.gainItem(1122004, 1);
cm.gainItem(1122005, 1);
cm.gainItem(1122006, 1);
cm.gainItem(2041200, 7);
cm.gainItem(4001126, -100);
cm.sendOk("Nice job, Here is your BowTie!!");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 8) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2040603, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 9) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2044503, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 10) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2041024, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 11) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2041025, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 12) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2044703, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 13) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2044603, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 14) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2043303, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 15) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2040807, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 16) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2040806, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 17) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2040006, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 18) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2040007, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 19) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2043103, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 20) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2043203, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 21) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2043003, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 22) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2040506, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 23) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2044403, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 24) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2040903, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 25) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2040709, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 26) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2040710, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 27) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2040711, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 28) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2044303, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 29) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2043803, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 30) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2040403, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 31) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2044103, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 32) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2044203, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 33) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2044003, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 34) {
if (cm.haveItem(4001126, 700)){
cm.gainItem(2043703, 1);
cm.gainItem(4001126, -700);
cm.sendOk("Nice job, Here is your GM Scroll");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 35) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(2022245, 10);
cm.gainItem(4001126, -100);
cm.sendOk("Nice job, Here is your HeartStopper");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 36) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(2022179, 10);
cm.gainItem(4001126, -100);
cm.sendOk("Nice job, Here is your Onyx Apple");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 37) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(2022179, 25);
cm.gainItem(4001126, -100);
cm.sendOk("Nice job, Here is your Onyx Apple");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 38) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(2022179, 60);
cm.gainItem(4001126, -100);
cm.sendOk("Nice job, Here is your Onyx Apple");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 39) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(2022282, 5);
cm.gainItem(4001126, -100);
cm.sendOk("Nice job, Here is your Demon Elixir");
cm.dispose();
} else {
cm.sendOk("You do not have enough Bubbles!!")
cm.dispose();
}
}
else if (selection == 40) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(2022282, 13);
cm.gainItem(4001126, -100);
cm.sendOk("Nice job, Here is your Demon Elixir");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 41) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(2022282, 30);
cm.gainItem(4001126, -50);
cm.sendOk("Nice job, Here is your Demon Elixir");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 42) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(2022273, 5);
cm.gainItem(4001126, -100);
cm.sendOk("Nice job, Here is your Cheese");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 43) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(2022273, 13);
cm.gainItem(4001126, -100);
cm.sendOk("Nice job, Here is your Cheese");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 44) {
if (cm.haveItem(4001126, 100)){
cm.gainItem(2022273, 40);
cm.gainItem(4001126, -100);
cm.sendOk("Nice job, Here is your Cheese");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 45) {
if (cm.haveItem(4001126, 1000)){
cm.gainItem(1482023, 1);
cm.gainItem(4001126, -1000);
cm.sendOk("#dNice job, Here is your#k #bTimeless Weapon#k #v 1482023#");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 46) {
if (cm.haveItem(4001126, 3000)){
cm.gainItem(1302081, 1);
cm.gainItem(4001126, -3000);
cm.sendOk("#dNice job, Here is your#k #bTimeless Weapon#k #v1302081#");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 47) {
if (cm.haveItem(4001126, 2000)){
cm.gainItem(1312037, 1);
cm.gainItem(4001126, -2000);
cm.sendOk("#dNice job, Here is your#k #bTimeless Weapon#k #v 1312037#");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 48) {
if (cm.haveItem(4001126, 3000)){
cm.gainItem(1322060, 1);
cm.gainItem(4001126, -3000);
cm.sendOk("#dNice job, Here is your#k #bTimeless Weapon#k #v 1322060#");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 49) {
if (cm.haveItem(4001126, 3000)){
cm.gainItem(1402046, 1);
cm.gainItem(4001126, -30);
cm.sendOk("#dNice job, Here is your#k #bTimeless Weapon#k #v 1402046#");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 50) {
if (cm.haveItem(4001126, 2000)){
cm.gainItem(1412033, 1);
cm.gainItem(4001126, -2000);
cm.sendOk("#dNice job, Here is your#k #bTimeless Weapon#k #v 1412033#");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 51) {
if (cm.haveItem(4001126, 2000)){
cm.gainItem(1422037, 1);
cm.gainItem(4001126, -2000);
cm.sendOk("#dNice job, Here is your#k #bTimeless Weapon#k #v 1422037#");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 52) {
if (cm.haveItem(4001126, 5000)){
cm.gainItem(1002140, 1);
cm.gainItem(4001126, -5000);
cm.sendOk("Nice job, Here is your GM Hat. If you Do not wear a NX Hat over it, It will be wiped off your inventory after a warning");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!! Don't ever try to scam My GM HAT!!")
cm.dispose();
}
}
else if (selection == 53) {
if (cm.haveItem(4001126, 8000)){
cm.gainItem(1002735, 1);
cm.gainItem(4001126, -8000);
cm.sendOk("Nice job, here is your Custom MSI Hat!.");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!! Don't ever try to scam My MSI HAT!!")
cm.dispose();
}
}
else if (selection == 54) {
if (cm.haveItem(4001126, 8000)){
cm.gainItem(1002736, 1);
cm.gainItem(4001126, -8000);
cm.sendOk("Nice job, here is your Custom MSI Hat!. ");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!! Don't ever try to scam My MSI HAT!!")
cm.dispose();
}
}
else if (selection == 55) {
if (cm.haveItem(4001126, 2000)){
cm.gainItem(4001129 , 5);
cm.gainItem(4001126, -2000);
cm.sendOk("Nice job. Here is your MapleCoins!");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!! Try harder.")
cm.dispose();
}
}
else if (selection == 56) {
if (cm.haveItem(4001126, 5000)){
cm.gainItem(4001129 , 10);
cm.gainItem(4001126, -5000);
cm.sendOk("Nice job. Here is your MapleCoins!");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!! Try harder.")
cm.dispose();
}
}
else if (selection == 57) {
if (cm.haveItem(4001126, 8000)){
cm.gainItem(4001129 , 20);
cm.gainItem(4001126, -8000);
cm.sendOk("Nice job. Here is your MapleCoins!");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!! Try harder.")
cm.dispose();
}
}
else if (selection == 58) {
if (cm.haveItem(4001126, 5000)){
cm.gainItem(1082146, 1);
cm.gainItem(4001126, -5000);
cm.sendOk("Nice job, Here is your Red Work Gloves");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 59) {
if (cm.haveItem(4001126, 5000)){
cm.gainItem(1082147, 1);
cm.gainItem(400256, -5000);
cm.sendOk("Nice job, Here is your Blue Work Gloves");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 60) {
if (cm.haveItem(4001126, 5000)){
cm.gainItem(1082148, 1);
cm.gainItem(4001126, -5000);
cm.sendOk("Nice job, Here is your Purple Work Gloves");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 61) {
if (cm.haveItem(4001126, 5000)){
cm.gainItem(1082149, 1);
cm.gainItem(4001126, -5000);
cm.sendOk("Nice job, Here is your Brown Work Gloves");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 62) {
if (cm.haveItem(4001126, 5000)){
cm.gainItem(1082150, 1);
cm.gainItem(4001126, -5000);
cm.sendOk("Nice job, Here is your Grey Work Gloves");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 63) {
if (cm.haveItem(4001126, 6000)){
cm.gainItem(1002080, 1);
cm.gainItem(4001126, -6000);
cm.sendOk("Nice job, Here is your Red Bandana");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 64) {
if (cm.haveItem(4001126, 6000)){
cm.gainItem(1002081, 1);
cm.gainItem(4001126, -6000);
cm.sendOk("Nice job, Here is your Blue Bandana");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 65) {
if (cm.haveItem(4001126, 6000)){
cm.gainItem(1002082, 1);
cm.gainItem(4001126, -6000);
cm.sendOk("Nice job, Here is your Yellow Bandana");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 66) {
if (cm.haveItem(4001126, 6000)){
cm.gainItem(1002083, 1);
cm.gainItem(4001126, -6000);
cm.sendOk("Nice job, Here is your Black Bandana");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 67) {
if (cm.haveItem(4001126,6000)){
cm.gainItem(1002395, 1);
cm.gainItem(4001126, -6000);
cm.sendOk("Nice job, Here is your Purple Bandana");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}

// start of new stuff

else if (selection == 68) {
if (cm.haveItem(4001126, 50)){ // how many?
cm.gainItem(1812006, 1);
cm.gainItem(4001126, -50);
cm.sendOk("Nice job, Here is your Magic Scales");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 69) {
if (cm.haveItem(4001126, 50)){ // how many?
cm.gainItem(1812005, 1);
cm.gainItem(4001126, -50);
cm.sendOk("Nice job, Here is your Binoculars");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 70) {
if (cm.haveItem(4001126, 50)){ // how many?
cm.gainItem(1812004, 1);
cm.gainItem(4001126, -50);
cm.sendOk("Nice job, Here is your Wing Boots");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 71) {
if (cm.haveItem(4001126, 50)){ // how many?
cm.gainItem(1812000, 1);
cm.gainItem(4001126, -50);
cm.sendOk("Nice job, Here is your Meso Magnet");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
else if (selection == 72) {
if (cm.haveItem(4001126, 50)){ // how many?
cm.gainItem(1812001, 1);
cm.gainItem(4001126, -50);
cm.sendOk("Nice job, Here is your Item Pouch");
cm.dispose();
} else {
cm.sendOk("You do not have enough #b#v4001126##k!!")
cm.dispose();
}
}
}
avatar
構築さん
Admin

Posts : 193
Join date : 2014/05/29

http://maplescience.forumjap.com

トップに戻る Go down

トップに戻る


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