- Joined
- Feb 4, 2010
- Messages
- 45
- Reaction score
- 5
Yea, it's just a warper to different maps you want, idk someone wanted this on my server. So I made it and was just gunna post it. o.o
Code:
var status = 0;
var map = Array(240010501);
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();
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendSimple("House npc made my Derick! \r\n#L2# Derick's House\r\n#L3#Cherish's House\r\n#L4#Cory's House\r\n#L5#Ari's House\r\n#L6#James's House\r\n#L7#Kyle's House")
} else if (status == 1) {
if (selection == 1) {
cm.warp(180000000)
cm.gainMeso(-1000);
cm.sendOk("WELCOME TO DERICK'S KICK ASS HOUSE :D.");
cm.dispose();
} else if (selection == 2) {
cm.warp(682000304);
cm.gainMeso(-1000);
cm.sendOk("WELCOME TO DERICK'S KICK ASS HOUSE :D.");
cm.dispose();
} else if (selection == 3) {
cm.warp(220000306);
cm.gainMeso(-1000);
cm.sendOk("Derick Owns! :D.");
cm.dispose();
} else if (selection == 4) {
cm.warp(240000006);
cm.gainMeso(-1000);
cm.sendOk("Derick Owns! :D");
cm.dispose();
} else if (selection == 5) {
cm.warp(250000001);
cm.gainMeso(-1000);
cm.sendOk("Derick Owns! :D.");
cm.dispose();
} else if (selection == 6) {
cm.warp(211000001)
cm.gainMeso(-1000);
cm.sendOk("Derick Owns! :D.");
cm.dispose();
} else if (selection == 7) {
cm.warp(240000001)
cm.gainMeso(-1000);
cm.sendOk("Derick Owns! :D.");
cm.dispose();
}
else
cm.sendOk("All right. Come back later");
}
}
}

