Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Just for fun

Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
08-09-2004 20:05
string s="\\\";";string a(integer i){return llGetSubString(s,i,i);}string d="string s=;string a(integer i){return llGetSubString(s,i,i);}string d=default{state_entry(){llInstantMessage(
llGetOwner(),llInsertString(llInsertString(d,9,a(1)+a(0)+a(0)+s+a(1)),76,a(1)+d+a(1)+a(2)));}} ";default{state_entry(){llInstantMessage(llGetOwner(),llInsertString(llInsertString(d,9,a(1)+a(0)+a(0)+s+a(1)),76,a(1)+d+a(1)+a(2)));}}

Hmm... Forums software being a bit picky. It was all supposed to be on one line. But it still works :)
_____________________
--
~If you lived here, you would be home by now~
Evil Fool
"==" != "="
Join date: 30 Jul 2004
Posts: 110
08-09-2004 21:11
I'm not quite sure... but this is supposed to just message the full code of the script back to the owner?

either that, or something got messed up with the lines
Hank Ramos
Lifetime Scripter
Join date: 15 Nov 2003
Posts: 2,328
08-10-2004 04:42
I think my eyes just exploded, trying to read that! :D
_____________________
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
08-10-2004 05:01
That's... ahh... useful. :)
_____________________
Need scripting help? Visit the LSL Wiki!
Omega Point - Catherine Omega's Blog
Mallecho Curie
Junior Member
Join date: 6 Jun 2004
Posts: 13
08-10-2004 10:35
Yaay quines! The ultimate form of geeky artistic expression.

http://www.nyx.net/~gthompso/quine.htm
Catfart Grayson
Registered User
Join date: 16 May 2004
Posts: 264
08-10-2004 15:40
You have achieved Nirvana. All other scripting is revealed as pointless.

Moderator, please close this forum.
_____________________
Cat
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
08-10-2004 19:56
From: someone
Originally posted by Catfart Grayson
You have achieved Nirvana. All other scripting is revealed as pointless.

Moderator, please close this forum.


LOL!!!!!

Hank - if it was hard to write, it should be hard to read!

Heheh, my eyes were bleeding as I wrote that. If I ever do something like this again, I'm going to write it in some "preferred readable form" first.

Tell you the truth though, I don't even know how to make this code much easier to read other than to add whitespace and give more meaningful names.
_____________________
--
~If you lived here, you would be home by now~
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
08-10-2004 20:52
CODE

string s="\\\";";
string a(integer i)
{
return llGetSubString(s,i,i);
}
string d="string s=;string a(integer i){return llGetSubString(s,i,i);}string d=default{state_entry(){llInstantMessage(llGetOwner(),llInsertString(llInsertString(d,9,a(1)+a(0)+a(0)+s+a(1)),76,a(1)+d+a(1)+a(2)));}} " ;
default
{
state_entry()
{
llInstantMessage(llGetOwner(),llInsertString(llInsertString(d,9,a(1)+a(0)+a(0)+s+a(1)),76,a(1)+d+a(1)+a(2)));
}
}


Hrm.. that isn't too much better...
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
08-10-2004 23:48
Bravo! That's not an easy thing to do.

Now code something useful ;)