Rick Roll NPC

Newbie Spellweaver
Joined
Sep 13, 2008
Messages
68
Reaction score
0
This is my first release.
I know this is pretty much useless, but I think it's nice to have. :D
It's just using the prank npc and the music npc

What it does is just shows the lyrics and in the end you can't escape it unless you log off or CC.
I put the script in Fredrick (Fredricks id is 9030000), just change it.
Oh and, if you don't want to add the music npc, just remove cm.playMusic.

PHP:
var status = 0;

function start() {
	status = 0;
	cm.sendNext("#rHey want a free GM set? #v01002140# #v01042003# #v01062007# #v01322013#");
cm.playMusic("Bgm14/DragonNest");
}

function action(mode, type, selection) {
	if (status == 0) {
		status = 1;
			cm.sendNext("#rLet me sing my favorite song first!");
cm.playMusic("Bgm08/PlotOfPixie");
	} else if (status == 1) {
		status = 2;
			cm.sendNext(" We're no strangers to love \r\n You know the rules and so do I \r\n A full commitment's what I'm thinking of \r\n You wouldn't get this from any other guy \r\n I just wanna tell 

you how I'm feeling \r\n Gotta make you understand..");
	} else if (status == 2) {
		status = 3;
			cm.sendNext(" #eNEVER GONNA GIVE YOU UP \r\n NEVER GONNA LET YOU DOWN \r\n NEVER GONNA RUN AROUND AND DESERT YOU \r\n NEVER GONNA MAKE YOU CRY 

\r\n NEVER GONNA SAY GOODBYE \r\n NEVER GONNA TELL A LIE AND HURT YOU!")
	} else if (status == 3) {
		status = 4;
			cm.sendNext(" We've known each other for so long \r\n Your heart's been aching but you're too shy to say it \r\n Inside we both know what's been going on \r\n We know the game and 

we're gonna play it \r\n And if you ask me how I'm feeling \r\n Don't tell me you're too blind to see..");
	} else if (status == 4) {
		status = 5;
			cm.sendNext(" #eNEVER GONNA GIVE YOU UP \r\n NEVER GONNA LET YOU DOWN \r\n NEVER GONNA RUN AROUND AND DESERT YOU \r\n NEVER GONNA MAKE YOU CRY 

\r\n NEVER GONNA SAY GOODBYE \r\n NEVER GONNA TELL A LIE AND HURT YOU!")
	} else if (status == 5) {
		status = 6;
			cm.sendNext(" We've known each other for so long \r\n Your heart's been aching but you're too shy to say it \r\n Inside we both know what's been going on \r\n We know the game and 

we're gonna play it..");
	} else if (status == 6) {
		status = 7;
			cm.sendNext(" I just wanna tell you how I'm feeling \r\n Gotta make you understand..");
	} else if (status == 7) {
		status = 8;
			cm.sendNext(" #eNEVER GONNA GIVE YOU UP \r\n NEVER GONNA LET YOU DOWN \r\n NEVER GONNA RUN AROUND AND DESERT YOU \r\n NEVER GONNA MAKE YOU CRY 

\r\n NEVER GONNA SAY GOODBYE \r\n NEVER GONNA TELL A LIE AND HURT YOU!");
	} else if (status == 8) {
cm.sendNext(" #r#e YOU JUST GOT FREDRICKROLLED! \r\n How do you get out.. :)");

	}
}

Images





 
Last edited:
Re: [Release] Rick Roll NPC

Do you have to manually adjust the status variable every single time?
I thought it did that for you automatically...
 
Re: [Release] Rick Roll NPC

Cool Nice Release
MSOlympics - Rick Roll NPC - RaGEZONE Forums
 
Back