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!

[Release] Punked Npc

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jul 29, 2008
Messages
89
Reaction score
6
My 3rd release ^.^
Code:
/* The Punked Npc
   Edited/Made By: Alex1333a789  cause i was bored and had nothing else to do
*/


var status = 0;

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

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
			cm.sendYesNo("Want free items just click yes.");
		} else if (status == 1) {
			cm.sendYesNo("Free Mesos?");	
		} else if (status == 2) {
			cm.sendYesNo("I fell sorry for you want a free heart stoppers?");
			cm.gainMeso(10000000);	
		} else if (status == 3) {
			cm.sendYesNo("More?");
			cm.gainItem(2022245,50);	
		} else if (status == 4) {
			cm.sendOk("You just got punk'ed by your server owner!");
			cm.gainItem(2022245,-50);
			cm.gainMeso(-100000000);
			cm.dispose()
			}
	    }
}
 
Last edited:
Newbie Spellweaver
Joined
Jul 24, 2008
Messages
50
Reaction score
1
LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOL
Nice rofl. YOU GOT PUNK'D !
Good for a jail npc :D
 
Junior Spellweaver
Joined
Feb 3, 2008
Messages
183
Reaction score
2
LOL!!!!!!!!!!!!!!

MTV Punk'd xDDDDDD

Very good release!!!! Do you have other funny idea for a NPC? xD
 
Getting into Graphics
Joined
Jun 22, 2008
Messages
173
Reaction score
0
What if they press EndChat?
Or does that not work?
 
Newbie Spellweaver
Joined
Jun 1, 2008
Messages
91
Reaction score
0
You get the money. You then disconnect yourself from the server (control alt delete) before you get to the part where your punk'd. ''You just scammed your server!'' xD
 
Experienced Elementalist
Joined
May 29, 2008
Messages
258
Reaction score
0
the cloud npc dosent work at all i think (cloud jail)
 
Experienced Elementalist
Joined
Jul 1, 2008
Messages
270
Reaction score
0
Umm, yea I think someone could just disconnect from it. If you get punk'd once, shame on your server. Punk'd twice? Shame on you. Someone would have caught on by then and would have spread throughout your server. Then there goes an unbalanced economy
 
Master Summoner
Loyal Member
Joined
May 5, 2008
Messages
532
Reaction score
0
My 3rd release ^.^
Code:
/* The Punked Npc
   Edited/Made By: Alex1333a789  cause i was bored and had nothing else to do
*/


var status = 0;

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

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
			cm.sendYesNo("Want free items just click yes.");
		} else if (status == 1) {
			cm.sendYesNo("Free Mesos?");	
		} else if (status == 2) {
			cm.sendYesNo("I fell sorry for you want a free heart stoppers?");
			cm.gainMeso(10000000);	
		} else if (status == 3) {
			cm.sendYesNo("More?");
			cm.gainItem(2022245,50);	
		} else if (status == 4) {
			cm.sendOk("You just got punk'ed by your server owner!");
			cm.gainItem(2022245,-50);
			cm.gainMeso(-100000000);
			}
	    }
}

Nice NPC.. I like it.
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Add more checks buddy.
Clicks. *ends chat*
Clicks. *ends chat*
Clicks. *ends chat*
*Abuses*
 
Newbie Spellweaver
Joined
Jul 19, 2008
Messages
97
Reaction score
0
Such a fail. People could abuse it so bad, they just have to say no in the middle.
 
Status
Not open for further replies.
Back
Top