[REQUEST]Spinel

Go down

[REQUEST]Spinel

Post by nero569 on Wed Jul 02, 2008 4:28 am

I would like to request spinel being teleporter for all towns and entrance to dragon forest
avatar
nero569
Newbie

Posts : 2
Join date : 2008-07-02

View user profile

Back to top Go down

Re: [REQUEST]Spinel

Post by koolk on Wed Jul 02, 2008 8:37 pm

What Source You using?
avatar
koolk
Newbie

Posts : 2
Join date : 2008-07-02

View user profile

Back to top Go down

RE:

Post by Admin on Thu Jul 03, 2008 1:13 am

koolk wrote:What Source You using?

OdinMs Source Hehe Embarassed

Admin
Admin
Admin

Posts : 70
Join date : 2008-05-19

View user profile

Back to top Go down

Re: [REQUEST]Spinel

Post by Alfons on Thu Jul 03, 2008 3:38 am

I Could Help you With That * Give Me Some Time Razz

Alfons
Newbie

Posts : 4
Join date : 2008-07-02

View user profile

Back to top Go down

Re: [REQUEST]Spinel

Post by AnimeFreak on Thu Jul 03, 2008 9:32 am

*/

var status = 0;
var maps = Array(680000000, 230000000, 211000000, 101000000, 100000000, 251000000, 103000000, 222000000, 104000000, 240000000, 240030000, 220000000, 250000000, 800000000, 600000000, 221000, 200000000, 102000000, 801000, 105040300);
var cost = Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
var costBeginner = Array(100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100);
var selectedMap = -1;
var job;

importPackage(net.sf.odinms.client);

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("Alright, see you next time.");
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendNext("Hi, I am Super Taxi ");
} else if (status == 1) {
cm.sendNextPrev("I can take you to many locations for just a small fee. Beginners will get a 90% discount on normal prices.")
} else if (status == 2) {
var selStr = "Select your destination.#b";
if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
for (var i = 0; i < maps.length; i++) {
selStr += "\r\n#L" + i + "##m" + maps[i] + "# (" + costBeginner[i] + " meso)#l";
}
} else {
for (var i = 0; i < maps.length; i++) {
selStr += "\r\n#L" + i + "##m" + maps[i] + "# (" + cost[i] + " meso)#l";
}
}
cm.sendSimple(selStr);
} else if (status == 3) {
if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
if (cm.getMeso() < costBeginner[selection]) {
cm.sendOk("You do not have enough mesos.")
cm.dispose();
} else {
cm.sendYesNo("So you have nothing left to do here? Do you want to go to #m" + maps[selection] + "#?");
selectedMap = selection;
}
}
else {
if (cm.getMeso() < cost[selection]) {
cm.sendOk("You do not have enough mesos.")
cm.dispose();
} else {
cm.sendYesNo("So you have nothing left to do here? Do you want to go to #m" + maps[selection] + "#?");
selectedMap = selection;
}
}
} else if (status == 4) {
if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
cm.gainMeso(-costBeginner[selectedMap]);
}
else {
cm.gainMeso(-cost[selectedMap]);
}
cm.warp(maps[selectedMap], 0);
cm.dispose();
}
}
}

AnimeFreak
Newbie

Posts : 6
Join date : 2008-07-02

View user profile

Back to top Go down

Re: [REQUEST]Spinel

Post by Admin on Thu Jul 03, 2008 11:45 am

Nice post

Admin
Admin
Admin

Posts : 70
Join date : 2008-05-19

View user profile

Back to top Go down

Re: [REQUEST]Spinel

Post by AnimeFreak on Thu Jul 03, 2008 9:46 pm

U said u needed spinel

AnimeFreak
Newbie

Posts : 6
Join date : 2008-07-02

View user profile

Back to top Go down

Re: [REQUEST]Spinel

Post by Admin on Fri Jul 04, 2008 12:05 am

Not me Is Nero

Admin
Admin
Admin

Posts : 70
Join date : 2008-05-19

View user profile

Back to top Go down

Re: [REQUEST]Spinel

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum