NoExcuses Wrote:Wow, that's damn cool!
And I was surprised to find two of my Sark insults in there, yay!
Great little insult-o-matic. How do you get Flash to display a random string like that? My Actionscript isn't particularly up to scratch... |
The code goes something like this:
//The Sark Insult Generator
//Code borrowed from Matchmaker Game v1.0 by Me
//array to store class list
var classList:Array = new Array();
//array to store random numbers
var randomNumbers:Array = new Array();
//array to put random class list into based on random numbers in randomNumbers array
var randomClass:Array = new Array();
classList[0] = "Remind me why I haven't derezzed you yet... ";
classList[1] = "Hey, bit brain, you reek of user support! ";
classList[2] = "Blockhead! ";
classList[3] = "I should banish you to a removable drive! ";
classList[4] = "You're why the delete button was invented. ";
classList[5] = "You and I don't exactly have binary compatibility. Prepare to terminate! ";
classList[6] = "If you ran the system, there'd be a fatal error due to stupidity. ";
classList[7] = "There must have been an error; I didn't request a bit to run that function, I requested a program! ";
classList[8] = "Ever heard of properly maintaining your header code? ";
classList[9] = "There must be competent programs out there somewhere...I'm just not finding them. ";
classList[10] = "If you have any uses besides filling unused dataspace, they're beyond me. ";
classList[11] = "Can you derezz yourself or do I have to waste precious miliseconds watching you die? ";
classList[12] = "You are an utter waste of memory space. ";
classList[13] = "You know, there are some programs who get updated every few megacycles...What? You mean you're not the current version? My mistake... ";
classList[14] = "I've seen tanks more manueverable than you on a lightcycle. ";
classList[15] = "I'd derezz you right now, but I don't want to get stupidity all over my disc. ";
classList[16] = "Even the standard sub-standard grid training is too complex for you. ";
classList[17] = "There's a place for programs like you, it's called the Recycle bin. ";
classList[18] = "Is any part of you actually program? all I can see are bugs. ";
classList[19] = "A one wheeled lightcycle can calculate faster than you. ";
classList[20] = "Don't you have a terribly empty feeling - in your Header? ";
classList[21] = "Go ahead, tell me everything you know. It'll only take 3 nanocycles ";
classList[22] = "If only you had a rerezz function then I'd have cycles of fun using you as target. ";
classList[23] = "You are the sole reason that I don't believe in the Users ";
classList[24] = "Bitbrain! ";
classList[25] = "Null unit! ";
//EVENT HANDLERS
AskBUT.onRelease = function() {
var randomNum:Number = Math.round(Math.random()*(25-0));
trace(randomNum);
InsultTXT.text = classList[randomNum]
};
Does that help?
~Kamui.EXE