Fbi npc

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jun 21, 2008
Messages
72
Reaction score
0
I know it ain't much but what the heck i made cause i had nothing to do

i kinda leeched the idea from a private server but they sold them in a shop they had to get the items to join the guild FBI

you could make a guild named FBI and so on..

Code:
/*
Made by :DkWar (RaGEZONE)
Edited by :DrFusion (RaGEZONE)
                 bendax3 (RaGEZONE
 
*/
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){
                if (cm.getPlayer().getMeso() > 1,337,000,000) {
	cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!")
      cm.gainItem(1122005,1);
      cm.gainItem(1102035,1);
      cm.gainItem(1002304,1);
      cm.gainItem(1022009,1);
      cm.gainItem(1050050,1);
      cm.gainItem(1082231,1);
      cm.gainItem(1072111,1);
      cm.gainItem(1702180,1);
      cm.gainMeso(-1337000000);	

	} else if (status == 1){
      cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k")
      cm.gainItem(5220000,10)
    	} else {
                cm.sendOk("Oh. i see... Well then, have fun in #rE2MS!#k");
                cm.dispose(); 
		}
	}
}

Instructions
1. Copy the above code
2. Paste into a notepad
3. Save As <your npc's id>.js

O.R.
1. Download the below file
2. Open it up then click file
3. Click Save As
4. Save As <your npc's id>.js

I would be making more npc upon request in this thread... the npc script will be upload at least 1 day
 

Attachments

Last edited:
Re: [Release]FBI NPC

Don't really get what u mean by sold them in a shop they had to get the items to join the guild FBI, mind explain it more clearer or post some SS?
 
Re: [Release]FBI NPC

this is just like a NPC that sell like wizet suit and stuff, then U need that much mesos to buy it.....is like buying wizet suit, just that he said it as FBI suit....xD
 
Re: [Release]FBI NPC

Oh ok i get it know, But he should edit it and call it Wizet NPC rather than FBI? coz its gonna confuse ppl O.o
 
Re: [Release]FBI NPC

and if theres no mesos, it gives items any way and just doesnt take mesos -.-

if (status == 0){
if (cm.getPlayer().getMeso() > 1,337,000,000) {
cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!")
cm.gainItem(1122005,1)
cm.gainItem(1102035,1)
cm.gainItem(1002304,1)
cm.gainItem(1022009,1)
cm.gainItem(1050050,1)
cm.gainItem(1082231,1)
cm.gainItem(1072111,1)
cm.gainItem(1702180,1)
cm.gainMeso(-1337000000)
} else {
cm.sendOk("Your broke");

And the check is like that in my src, i know theres another way like cm.getMeso or something, the get player way is more client efficient
 
Re: [Release]FBI NPC

PHP:
	cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!")[B];[/B]
      cm.gainItem(1122005,1)[B];[/B]
      cm.gainItem(1102035,1)[B];[/B]
      cm.gainItem(1002304,1)[B];[/B]
      cm.gainItem(1022009,1)[B];[/B]
      cm.gainItem(1050050,1)[B];[/B]
      cm.gainItem(1082231,1)[B];[/B]
      cm.gainItem(1072111,1)[B];[/B]
      cm.gainItem(1702180,1)[B];[/B]
      cm.gainMeso(-1337000000)[B];[/B]	

      cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k")[B];[/B]
      cm.gainItem("5220000,10)[B];[/B]
Change
PHP:
cm.gainItem("5220000, 10)
to
PHP:
cm.gainItem(5220000, 10);

... It wont hella work without changing..
 
Re: [Release]FBI NPC

Edited and done...

thank to ...
DrFusion
bendanx3

Its not done.. lolz -.-


PHP:
/*
Made by :DkWar (RaGEZONE)
Edited by :DrFusion (RaGEZONE)
Edited2 b :bendanx3 (RaGEZONE)

*/
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){
                if (cm.getPlayer().getMeso() > 1,337,000,000) {
	cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!");
      cm.gainItem(1122005,1);
      cm.gainItem(1102035,1);
      cm.gainItem(1002304,1);
      cm.gainItem(1022009,1);
      cm.gainItem(1050050,1);
      cm.gainItem(1082231,1);
      cm.gainItem(1072111,1);
      cm.gainItem(1702180,1);
      cm.gainMeso(-1337000000);	

	} else if (status == 1){
      cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k");
      cm.gainItem(5220000,10);
    	} else {
                cm.sendOk("Oh. i see... Well then, have fun in #rE2MS!#k");
                cm.dispose(); 
		}
	}
          }
}


This should work.. didnt test.
 
Re: [Release]FBI NPC

oh damm forgot all about it...

sry i have been out of coding a long time abt 1/2 year give or take editing now...
 
Re: [Release]FBI NPC

The bendax "fixes" has been not "updated".

Also, it's >=, since, if you have 1337000000 it will not let you buy (But meh, the rate that someone would have that exactly amount is 1/100). Also, it's the very first time i see a integer check with coma Oo
 
Re: [Release]FBI NPC

The bendax "fixes" has been not "updated".

Also, it's >=, since, if you have 1337000000 it will not let you buy (But meh, the rate that someone would have that exactly amount is 1/100). Also, it's the very first time i see a integer check with coma Oo


Lols integer check with commas.. =X
Yea not updated.. You're still missing some ; ..
 
Re: [Release]FBI NPC

its cool i guess, not what i thought it would be :P
 
Status
Not open for further replies.
Back