• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

The Insulter NPC

Joined
Aug 10, 2008
Messages
858
Reaction score
516
Code:
var status = 0;
var insults = ["You Suck!", "I Hope you burn in Hell!", "duck YOU!", "GO TO HELL!", "YOUR ADOPTED!", "GO duck YOURSELF!", "lady.", "Blow me witch!"];
var randint = Math.round(Math.floor(Math.random() * (insults.length + 1)));

function start() {
	cm.sendOk(insults[randint]);
	cm.dispose();
}

Enjoy!
 
Newbie Spellweaver
Joined
Sep 24, 2009
Messages
31
Reaction score
0
Code:
var status = 0;
var insults = ["You Suck!", "I Hope you burn in Hell!", "duck YOU!", "GO TO HELL!", "YOUR ADOPTED!", "GO duck YOURSELF!", "lady.", "Blow me witch!"];
var randint = Math.round(Math.floor(Math.random() * (insults.length + 1)));

function start() {
	cm.sendOk(insults[randint]);
	cm.dispose();
}

Enjoy!

lawl nice man,

although i wouldnt add this to my GMS-like server
where i care about my source(not really mine yet) ^-^
 
Banned
Banned
Joined
Nov 17, 2009
Messages
104
Reaction score
30
Hmm, simple yet cool.

---------- Post added at 12:16 AM ---------- Previous post was at 12:08 AM ----------

This NPC is like one of those people who believe in god, and yell at you in the street saying random poop like "YOU JUST BROKE A SIN YOUR GOING TO HELL BECAUSE GOD SAID SO."
 
Junior Spellweaver
Joined
Oct 31, 2009
Messages
112
Reaction score
9
[/COLOR]This NPC is like one of those people who believe in god, and yell at you in the street saying random poop like "YOU JUST BROKE A SIN YOUR GOING TO HELL BECAUSE GOD SAID SO."

I loled at your amount of knowledge in religion. If I had the time, I would explain why that statement is just so ignorant and rude.
 
Elite Diviner
Loyal Member
Joined
Feb 1, 2009
Messages
497
Reaction score
75
status is not in use. :p

PHP:
var insults = ["You Suck!", "I Hope you burn in Hell!", "duck YOU!", "GO TO HELL!", "YOUR ADOPTED!", "GO duck YOURSELF!", "lady.", "Blow me witch!"];

function start() {
	cm.sendOk(insults[parseInt(Math.random() * insults.length)]);
	cm.dispose();
}
 
Joined
Aug 10, 2008
Messages
858
Reaction score
516
status is not in use. :p

PHP:
var insults = ["You Suck!", "I Hope you burn in Hell!", "duck YOU!", "GO TO HELL!", "YOUR ADOPTED!", "GO duck YOURSELF!", "lady.", "Blow me witch!"];

function start() {
	cm.sendOk(insults[parseInt(Math.random() * insults.length)]);
	cm.dispose();
}

Shhh, don't tell them that! Let them figure it out. >_<
 
Interesting...
Loyal Member
Joined
Oct 25, 2008
Messages
1,372
Reaction score
604
Code:
var status = 0;
var insults = ["You Suck!", "I Hope you burn in Hell!", "duck YOU!", "GO TO HELL!", "YOUR ADOPTED!", "GO duck YOURSELF!", "lady.", "Blow me witch!"];
var randint = Math.round(Math.floor(Math.random() * (insults.length + 1)));

function start() {
	cm.sendOk(insults[randint]);
	cm.dispose();
}

Enjoy!

Excuse me sir but you appear to be rounding after you floor. I'm going to need a detailed explanation behind this interesting design decision.
 
Back
Top