Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Npc sells nx cash for Chicken

Initiate Mage
Joined
Jan 8, 2010
Messages
1
Reaction score
0
I dont know if some1 release it
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();
            return;
        }
        if (mode == 1)
            status++;
        else
            status--;
        if (status == 0) {
            cm.sendSimple("Hello, I am the Nexon Cash seller of LipsMs .can i help you??\r\n\#L1# I Would like To Get 10k Nexon Cash For 8  #b#v4000252##k!#l\r\n\#L2# I Would Like To Get 25k Nexon Cash For 15 #b#v4000252##k!#l");
        } else if (status == 1) {
            if (selection == 1) {
                if(cm.haveItem(4000252, 8)) {  
                    cm.gainNX(10000);
                    cm.gainItem(4000252, -8); 
                    cm.sendOk("Enjoy Ur Nexon Cash!");
                } else {
                    cm.sendOk("Sorry, you don't have 8 #b#v4000252##k!");
                }
                cm.dispose();
        } else if (status == 2) {
        } else if (selection == 2) {
            if(cm.haveItem(4000174, 15)) {
                    cm.gainNX(25000);
                    cm.gainItem(4000174, -15); 
                    cm.sendOk("Enjoy ur Nexon Cash!");
                } else {
                    cm.sendOk("Sorry, you don't have 15 #b#v4000252##k!");
                }
                cm.dispose();
            }
            else{
                cm.sendOk("All right. Come back later");
            }
        }
    }
}
LipsMs - Npc sells nx cash for Chicken - RaGEZONE Forums
well maybe it will help some people :rolleyes
 
Newbie Spellweaver
Joined
Aug 13, 2009
Messages
76
Reaction score
20
Sorry but these releases would be great if you released it 2 years ago, stop with releasing such scripts.
 
Newbie Spellweaver
Joined
Dec 31, 2008
Messages
91
Reaction score
32
Cause we all like to copy Farmer Story.
 
Newbie Spellweaver
Joined
Dec 24, 2009
Messages
8
Reaction score
0
is this npc coded correctly, i think something might be wrong, but im noob npc coder, dont listen to me.
 
Newbie Spellweaver
Joined
Jul 29, 2009
Messages
7
Reaction score
0
Plain and pure
Useless script (Y)
Why not use Ducks instead of CHICKENS?
 
Junior Spellweaver
Joined
Aug 15, 2008
Messages
192
Reaction score
12
I will but, it says 2010, I don't know where you got that "2 years" from. ^^
 
Back
Top