- Joined
- Apr 18, 2008
- Messages
- 84
- Reaction score
- 1
Requirements:
- A cookie for payment
Credit's:
- Me for finding all this out @.@
- Azora for adding all town's
Script:
Remember to save it as
<npc id>.js and then add into scripts\npc\
Screen Shot's:
- A cookie for payment
Credit's:
- Me for finding all this out @.@
- Azora for adding all town's
Script:
PHP:
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.sendOk("Alrighty, cya around!");
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendGetText("Progress on This System : #B74# \r \r Please type in a name!");
}
else if (status == 1) {
if (cm.getText().equalsIgnoreCase("Henesys")) {
cm.warp(100000000, 0);
cm.sendOk("Welcome to #bHenesys#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Kerning City")) {
cm.warp(103000000, 0);
cm.sendOk("Welcome to #bKerning City#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Ellinia")) {
cm.warp(101000000, 0);
cm.sendOk("Welcome to #bEllinia#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Orbis")) {
cm.warp(200000000, 0);
cm.sendOk("Welcome to #bOrbis#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Perion")) {
cm.warp(102000000, 0);
cm.sendOk("Welcome to #bPerion#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Sleepywood")) {
cm.warp(105040300, 0);
cm.sendOk("Welcome to #bSleepywood#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Ludibrium")) {
cm.warp(220000000, 0);
cm.sendOk("Welcome to #bLudibrium#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("El Nath")) {
cm.warp(211000000, 0);
cm.sendOk("Welcome to #bEl Nath#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Omega Sector")) {
cm.warp(221000000, 0);
cm.sendOk("Welcome to #bOmega Sector#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Korean Folk Town")) {
cm.warp(222000000, 0);
cm.sendOk("Welcome to #bKorean Folk Town#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Aquarium")) {
cm.warp(230000000, 0);
cm.sendOk("Welcome to #bKorean Folk Town#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Leafre")) {
cm.warp(240000000, 0);
cm.sendOk("Welcome to #bLeafre#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Mu Lung")) {
cm.warp(250000000, 0);
cm.sendOk("Welcome to #bMu Lung#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Herb Town")) {
cm.warp(251000000, 0);
cm.sendOk("Welcome to #bHerb Town#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("New Leaf City")) {
cm.warp(600000000, 0);
cm.sendOk("Welcome to #bNew Leaf#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Amoria")) {
cm.warp(680000000, 0);
cm.sendOk("Welcome to #bAmoria#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Zipangu")) {
cm.warp(800000000, 0);
cm.sendOk("Welcome to #bZipangu#k");
cm.dispose();
}
else if (cm.getText().equalsIgnoreCase("Showa Town")) {
cm.warp(801000000, 0);
cm.sendOk("Welcome to #bShowa Town#k");
cm.dispose();
}
else {
cm.sendOk("Check ur spelling plox D= \r \r OR, i havn't put in the map yet... here's progress on it all : \r \r #B74#");
cm.dispose();
}
}
}
}
<npc id>.js and then add into scripts\npc\
Screen Shot's:


Last edited: