ScarfaceMS
Please login or register to enjoy the full features and benefits of the forum. Also when you are logged in you will have reduced AD's and much more. So what are you waiting for! Not a member? Register now! Already a member? Just simply log in! Thank You Smile ~
-Tony And 2nd Owner Legend<3!
ScarfaceMS
Please login or register to enjoy the full features and benefits of the forum. Also when you are logged in you will have reduced AD's and much more. So what are you waiting for! Not a member? Register now! Already a member? Just simply log in! Thank You Smile ~
-Tony And 2nd Owner Legend<3!
ScarfaceMS
Would you like to react to this message? Create an account in a few clicks or log in to continue.

ScarfaceMS

Maplestory v75 Private Server
 
HomePortalGalleryLatest imagesSearchRegisterLog in
Please vote for our server on all links inorder to have a better and bigger community!

 

 Golden Maple leaf system

Go down 
AuthorMessage
NoobieGuy
Moderator
Moderator
NoobieGuy


Posts : 54
Join date : 2010-06-24
Age : 28
Location : California

Golden Maple leaf system Empty
PostSubject: Golden Maple leaf system   Golden Maple leaf system EmptyMon Jun 28, 2010 3:46 pm

Ok this system trades 1b for a golden leaf and 100m for a maple leaf.
Code:
var status = 0;

function start() {
    status = -1;
    action(1, 0, 0);
}

function action(mode, type, selection) {
    if (mode == -1) {
        cm.dispose();
    } else {
        if (status >= 0 && mode == 0) {
            cm.dispose();
            return;
        }
        if (mode == 1)
        status++;
        else
        status--;
        if(status == 0) {
        cm.sendSimple("Hello, I am the #v4000313# and #v4001126# exchanger."
        +"#k\r\n#L1#Trade 1 Billion Mesos For A #v4000313#"
        +"#k\r\n#L2#Trade A #v4000313# For 1 Billion Mesos"
        +"#k\r\n#L3#Trade 100 Million Mesos For A #v4001126#"
        +"#k\r\n#L4#Trade A #v4001126# For 100 Million Mesos");
        } else if (selection == 1) {
        if(cm.getMeso() >= 1000000000){
        cm.gainItem(4000313, 1);
        cm.gainMeso(-1000000000);
        cm.sendOk("Thanks, here is your #v4000313#.");
        }
        else {
        cm.sendOk("You don't have enough mesos!");
        }
        } else if (selection == 2) {
        if(cm.haveItem(4000313, 1)) {
        cm.gainItem(4000313, -1);
        cm.gainMeso(1000000000);
        cm.sendOk("Thanks, here are your mesos.");
        }
        else {
        cm.sendOk("You don't have a #v4000313#!");
        }
        } else if (selection == 3) {
        if(cm.getMeso() >= 100000000) {
        cm.gainItem(4001126, 1);
        cm.gainMeso(-100000000);
        cm.sendOk("Thanks, here is your #v4001126#.");
        }
        else {
        cm.sendOk("You don't have enough mesos!");
        }
        } else if (selection == 4) {
        if(cm.haveItem(4001126, 1)) {
        cm.gainItem(4001126, -1);
        cm.gainMeso(100000000);
        cm.sendOk("Thanks, here are your mesos.");
        }
        else {
        cm.sendOk("You don't have a #v4001126#!");
        }
        }
        }
        }
Back to top Go down
 
Golden Maple leaf system
Back to top 
Page 1 of 1
 Similar topics
-
» Golden maple leaf item trader
» Leaf's GM Application.[edited since there was no reply]

Permissions in this forum:You cannot reply to topics in this forum
ScarfaceMS :: Extras :: Releases-
Jump to: