Terms of Services
* This file is part of the HolyDev's Maple Story Dev Team
Copyright 2010
Chris Lee
rndochris@hotmail.comMore Info :
unknowngamers@hotmail.comThis program is free length of code, therefore you can redistribute it and/or modify
it under the terms below :
Credits must be placed, as well as this TOS
Lawsuit is possible
All credits go to the HolyDev Team
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
GNU Affero General Public License
*/
End of Terms of Services, By using this script you accept all the terms above.
Beta Hat Giver (Editable to other items) NPC
*/Jesus/Thebloodz
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("Goodbye");
cm.dispose();
return;
}
if (mode == 1) {
status++;
}
else {
status--;
}
if (status == 0) {
cm.sendNext("Hey, I'm Jesus's Slave, the Beta Hat NPC. I give free Beta Hats.");
}
else if (status == 1) {
if(cm.haveItem(1002959)) {
cm.sendSimple("You have one already....\r\n#L0#Can I have one more please?#l\r\n#L1#I don't want one.#l");
}
else {
cm.sendOk("Here is your ScarfaceMS Beta Hat!");
cm.gainItem(1002959, 1);
cm.dispose();
}
}
else if (status == 2) {
if (selection == 0) {
cm.sendOk("No, you can not have another one cause your not cool dude. Its called the allin1 shop, you poor idiot. Jesus Commanded me to not give another!");
cm.dispose();
}
else if (selection == 1) {
cm.sendOk("See you later, have fun!");
cm.dispose();
}
}
}
}