Wednesday, February 11

WAHAHHAHAHAAAAS !
2dae after i woke up immediately, i open up the npcs scripts .
haven brush teeth yet jiu wan play com hehehee~

i re-read my YokoYoko to find out if there is any mistakes x:
Den i saw tat i forgotten to add a bracket -.-
Wanna see my source ? {:
It goes like this ,

/* Made by Cakee from ClownMS*/
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 && status == 0) {
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendSimple ("Anyeong Haseyoooo!! I'm Cakee's grandfather :D\r\n I trade your trophies for some extraordinary items!! What would you like?\r\n#L0##b2500#k trophies for a #bSachiel Sword#k [Maxstats&wa]#l\r\n#L1##b2000#k trophies for a #bIce snow Flower Ring#k [Maxstats&wa]#l\r\n#L2##b1500#k trophies for a #bPeace Band#k#l\r\n#L3##b1500#k Tropies for a #rYellow Bow-tie#k#l\r\n#L4##b70#k trophies for a #rChair of the week#k#l#i3010007#\r\n#L5##b50#k trophies for 50 #rWhite Scrolls#k#l\r\n#L6# More Information");
} else if (status == 1) {
if (selection == 0) {
if (cm.haveItem(4000038, 2500)) {
cm.sendOk("Well done, Here are your Sachiel Sword {:");
cm.gainItem(1702119,1);
cm.gainItem(4000038, -2500);

} else {
cm.sendOk("Sorry. You do not have enough trophies. Dont try to scam me!");
}
cm.dispose();

} else if (selection == 1) {
if (cm.haveItem(4000038, 2000)) {
cm.sendOk("Well done, here is your Ice snow Flower Ring {:");
cm.gainItem(1702136,1);
cm.gainItem(4000038, -2000);

} else {
cm.sendOk(" Sorry. You do not have enough trophies, stoopid SCAMMER");
}
cm.dispose();

} else if (selection == 2) {
if (cm.haveItem(4000038, 1500)) {
cm.sendOk("Well done, here is your Peace Band, PEACE :D");
cm.gainItem(1002774,1);
cm.gainItem(4000038, -1500);

} else {
cm.sendOk(" Sorry. You do not have enough trophies, idiot !! ");
}
cm.dispose();

} else if (selection == 3) {
if (cm.haveItem(4000038, 1500)) {
cm.sendOk("Well done, Here is your #rYellow Bow-tie#k.");
cm.gainItem(1122003,1);
cm.gainItem(4000038, -1500);

} else {
cm.sendOk(" Sorry. You do not have enough trophies, baka!! ");
}
cm.dispose();

} else if (selection == 4) {
if (cm.haveItem(4000038, 70)) {
cm.sendOk("Well done, here is your chair :P");
cm.gainItem(3010007,1);
cm.gainItem(4000038, -70);

} else {
cm.sendOk(" Sorry. You do not have enough trophies. ");
}
cm.dispose();

} else if (selection == 5) {
if (cm.haveItem(4000038, 50)) {
cm.sendOk("Well done!, here are your #rWhite Scrolls#k");
cm.gainItem(2340000,50);
cm.gainItem(4000038, -50);

} else {
cm.sendOk(" Sorry. You do not have enough trophies for your whiteeee scrolls. ");
}
cm.dispose();

} else if (selection == 6) {
cm.sendOk("#bTrophies can be attain by participating in our events !! We hold events everyday so do join in and win our trophies !! Good luck! :D Have fun playing #rClownMS");
cm.dispose();
}
}
}
}

lailai feel free to copy&paste {:
But leave th credits as it is x:
HAHAHAHAAAA ! ~
sorry peeps for delayin cuz i super lazy to edit npcs x:
heheees !!

No comments: