Buddy capacity seller (Fully Functional)

Λκαяυz føяeνeя
Loyal Member
Joined
Jun 28, 2008
Messages
1,951
Reaction score
73
Buddy capacity seller (Fully Functional)
Made by Luke and GangStaX​
* Some other buddy capacitys were released but fail, this is fully functionaly!

Code:
/*
Made by Luke(Roamer in RaGEZONE) and GanstaX(StraightX in RaGEZONE)

Please leave credits!
*/
/* Mr. Goldstein
    located in Lith Harbour (104000000)
    Buddy List Admin
*/

var status = 0;
var selected;
var capacity;
var fee;
var minusfee;
var feetotal

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

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 0) {
			cm.sendOk("Later.");
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
			cm.sendNext("Hello #h #, I am the Buddy Capacity seller of CookieMS.");
		} else if (status == 1) {
                        capacity = cm.getChar().getBuddyCapacity();
			cm.sendGetText("How many NEW TOTAL slots do you want? You have " + capacity + " right now. \r\nRemember, One Slot costs 100k.");
		} else if (status == 2) {
			selected = cm.getText();
			fee = cm.getText() * 100000;
                        minusfee = capacity * 100000;
                        totalfee = fee - minusfee;
			cm.sendYesNo("Are you sure you want to have " + selected + " TOTAL NOT ADDED Slots for " + totalfee + " mesos?, #h #?");
		} else if (status == 3) {
			if (cm.getMeso() < fee) {
				cm.sendOk("You dont have enough money.  Go get a job you bum!");
				cm.dispose();
			} else {
                                cm.getChar().setBuddyCapacity(selected);
				cm.gainMeso(totalfee * -1);
				cm.sendNext("Done! You have now received " + selected + " Buddy List Slots and " + totalfee + " mesos have been deducted from your account. Might need to re-log sometimes");
			}
		} else if (status == 4) {
			cm.sendOk("Have fun.\r\n\r\n\r\nThis NPC was made by GanstaX and Luke!")
            cm.dispose();
		}
	}
}

It works 100%
If you put less slots then you got, it will gain you mesos (not a bug,. basically a refund)

If you got 25 slots and you want +5 put in 30 SLOTS and NOT 5! If you put 5 it will make you have 5 slots.

Credits Luke(me) and GanstaX
PLEASE DONT CHANGE CREDITS!

Roamer - Buddy capacity seller (Fully Functional) - RaGEZONE Forums
 
Last edited:
Re: [Release] Buddy capacity seller (Fully Functional)

Yup give the leechers what they want so they don't fucking complain >_>
NO STOP RELEASING HERE
 
Re: [Release] Buddy capacity seller (Fully Functional)

Leechers won't NEED this. Simply because Their Users don't NEED 100+ Buddy List slots. Hell, most of those servers don't even HAVE 100 users.
 
Back