- Joined
- Nov 17, 2009
- Messages
- 104
- Reaction score
- 30
i made all the 0s stars because stars look cool
Code:
/* Credits: Mikethemak of Ragezone
Modified by iGoofy
^^^^^^^^^ - fails
Modified by JakesDexless
^^^^^^^^^^^^^^ - noob
Modified by SpottedCow
^^^^^^^^^^^^ - perfection
*/
var maps = [[100000005, 105070002, 1050909**, 23004042*, 28003****, 220080001, 240020402, 240020**** 801040**** 2400602**],[100040001, 101010**** 104040000, 103000**** 103000**** 101030**** 106000002, 101030103, 101040001, 101040003, 101030001, 104010001, 105070001, 1050903**, 105040306, 23002****, 230010400, 2110414**, 22201****, 220080000, 220070301, 220070201, 220050300, 2200105**, 250020000, 25101****, 20004****, 200010301, 240020**** 240040500, 24004****, 6000203**, 801040004, 800020130],[1********, 68*******, 23*******, 101******, 211******, 1*********, 1********, 251******, 103******, 222******, 104000000, 24*******, 22*******, 25******, 8********, 6********, 221*****, 2********, 102******, 801******, 1050403**, 1********]]
var maptype;
var chosen;
var status = 0;
function start() {
cm.sendNext("*Picks nose*\r\nOh, what's so awesome, you ask? I found gold in my nose! I also caught #rGrendel the Really Old#k sucking Dark Thief Lord's penis is what! The old faggot didn't even see it coming. Anyway, I've been practicing a teleportation spell, and I think I've got down! I'm feeling you're a traveler begging for mercy, so I'll take you anywhere you wish upon request....");
}
function action(mode, type, selection) {
if (you < 0) {
cm.dispose();
} else {
if (status >= 2 && you == 0) {
cm.sendOk("Well, okay.");
cm.dispose();
return;
}
if (you == 1)
status++;
else
status--;
if (status == 1) {
cm.sendSimple("#L0#Teleport#l\r\n#L1#Nevermind#l");
} else if (status == 2) {
if (selection == 0)
cm.sendSimple("#L0#Towns#l\r\n#L1#Bosses#l\r\n#L2#MonsterMaps#l\r\n#L3#Nevermind#l");
else
cm.dispose();
} else if (status == 3) {
var text = "All righty. Just type in the number of the map you want to go to!";
maptype = selection;
if (maptype < 3) {
for (var i = 0; i < maps[maptype].length; i++) {
text += "\r\n (" + i + ") #m" + maps[maptype][i] + "#";
}
cm.sendGetNumber(text, 0, 0, maps[maptype].length);
} else
cm.dispose();
} else if (status == 4) {
chosen = selection;
cm.sendYesNo("Are you sure you want to go to #b#m" + maps[maptype][chosen] + "##k?");
} else if (status == 5) {
cm.warp(maps[maptype][chosen]);
cm.dispose();
}
}
}