Excellzone

Forum and disscussions since 2010


You are not connected. Please login or register

View previous topic View next topic Go down Message [Page 1 of 1]

#1
Excell

avatar
Head Administer
Head Administer
i Didnt realse it :PJust took it from other site i dont remember the site anymore !!

Here

Code:


/* Creator: Danny
NPC Name: VIP Cab
*/
importPackage(net.sf.odinms.client);
var status = 0;

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

function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (status >= 2 && mode == 0) {
cm.sendOk("Hello.");
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendNext("#rI Am HOTO! The Mysterious Statue.#k Bring me #r3 Pieces of Scroll and 35 million mesos#k and In Return I'll Give You The Scroll Of Chaos!");
}
else if (status == 1) {
if ((cm.haveItem(4001136, 3)) && (cm.getMeso() >= 35000000)) {
cm.sendYesNo("Have fun!");
}
else if (!cm.haveItem(4001136, 3)) {
cm.sendOk("You Can Get 3 Piece Of Scrolls From Mushmoms.");
cm.dispose();
}
else if (!cm.getMeso() <= 35000000) {
cm.sendOk("You Still Need 35Million Mesos!");
cm.dispose();
}

}
else if (status == 2) {
cm.gainMeso(-35000000);
cm.gainItem(4001136, -3);
cm.gainItem(2049100, 1);
cm.dispose();
}
}
}














__________________
Privateservers
[You must be registered and logged in to see this link.]
For my Realses
Sera npc Gives NX items and MORE

choas Scroll Trader npc

View user profile http://excellzone.mrforum.net

View previous topic View next topic Back to top Message [Page 1 of 1]


Permissions in this forum:
You cannot reply to topics in this forum