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 (#1)
If it's equal to "there" it'll stop. :p
In response to Hell Ramen (#2)
So 4 letters are going to equal "there"? Interesting, very interesting,
In response to Artekia (#3)
Without the quotation marks. :p
In response to Hell Ramen (#4)
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 (#5)
            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 (#6)
I'm confused.. You plan on combining 4 letters to make a 5 letter word? You sir are odd.
In response to Artekia (#7)
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 (#8)
I just noticed that...-_-
I hate myself.
[Edit]Fixed it.
In response to Spuzzum (#8)
errr, take away a var/e would you?
In response to Hell Ramen (#9)
Silly boy.

Be a man, and go for the entire works of shakespear.
In response to Artekia (#10)
You'd have to make it t1, h1, e1, r1, etc.
In response to Hell Ramen (#9)
I was talking about Artekia's post in regards to you (see the thread structure at the bottom). =)
In response to Artekia (#10)
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 (#14)
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 (#16)
Really? My five letter word is still going.
In response to Hell Ramen (#17)
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 (#18)
I put spawn(1). :|
Page: 1 2