ID:265339
 
I'm making something generate a four letters.
When it equals "there", it'll stop, tell how many times it took, and the record.
Shall we try it? Yessirie, no matter how long I have to leave my PC on for.
So.... it'll never stop? Ever? That's a lot of lag!
In response to Artekia
If it's equal to "there" it'll stop. :p
In response to Hell Ramen
So 4 letters are going to equal "there"? Interesting, very interesting,
In response to Artekia
Without the quotation marks. :p
In response to Hell Ramen
Let's dissect there, shall we?
var/t = 1
var/h = 1
var/e = 1
var/r = 1
var/e = 1

mob/verb/TotalLettersOfThere()
var/A=t+h+e+r+e
if(A==4)
world << "Artekia is stupid"
if(A>4)
world << "Artekia pwns j00"

In response to Artekia
            var/T = "[pick(alphabet)][pick(alphabet)][pick(alphabet)][pick(alphabet)]"
src << T
if(T=="there")
//etc.


And I made the whole alphabet into a list. :o
In response to Hell Ramen
I'm confused.. You plan on combining 4 letters to make a 5 letter word? You sir are odd.
In response to Artekia
I'm finding it infinitely amusing that he didn't catch on even after you created your example.

Never mind that your example wouldn't compile, though. ;-)
In response to Spuzzum
I just noticed that...-_-
I hate myself.
[Edit]Fixed it.
In response to Spuzzum
errr, take away a var/e would you?
In response to Hell Ramen
Silly boy.

Be a man, and go for the entire works of shakespear.
In response to Artekia
You'd have to make it t1, h1, e1, r1, etc.
In response to Hell Ramen
I was talking about Artekia's post in regards to you (see the thread structure at the bottom). =)
In response to Artekia
Artekia wrote:
errr, take away a var/e would you?

That would output "Aretkia is stupid"; it would be equal to 4 <_< lol
In response to Wizkidd0123
No it wouldn't.
It'd still be doing t+h+e+r+e and e = 1 so it would be two es so e+e=2, not 1.
I made my only little verb where you put in a 4 letter(no caps) word and it would go until 4 random letters would equal it.
Here's the results-

mike equals mike!! Hurrah!!
It tried 112909 times
In response to Artekia
Really? My five letter word is still going.
In response to Hell Ramen
Did you put a sleep() in it? I calculated that if I put a sleep(1) in my code, on average it'd take at least 3 hours for the results to equal A.
In response to Artekia
I put spawn(1). :|
Page: 1 2