View Full Version : Hehe!


iTom
05-07-2006, 12:51 AM
If you understand PHP, you'll understand my little script! :hehe:

if(!$forum_exists) {
echo "Deprevation of LEIA is no joke!";
$ohDarn = true;
} else {
echo "Yay!";
$everythingsCool = true;
}

function pray_to_LEIAgods($prayer,$user,$std) {
include("pray.php");
$god_connect = LEIAGOD($user,$pass,"PRAY to LOCALHOST (127.0.0.1)");
}

function praise() {
include("pray.php");
$god_connect = LEIAGOD($user,$pass,"PRAISE to LOCALHOST (127.0.0.1)");
}

if($oh_darn && !$everthingsCool) {
pray_to_LEIAgods("Work!",iThomas,METHOD);
} else {
praise();
}

SUPER RP06
05-07-2006, 04:57 PM
What does that do?

Douglas
05-07-2006, 05:53 PM
Basically if anything is wrong it prays to the LEIA god :P

iTom
05-07-2006, 06:06 PM
Meh, I was bored. :P

The Beatles
05-07-2006, 06:09 PM
:hehe: :cool: ;) nice.:confusion :lol:

* Jo *
05-07-2006, 11:41 PM
I wish i understood that

dolce shanti
05-08-2006, 05:21 PM
Haha...how fun! :)

Backlight
05-08-2006, 07:24 PM
Lol nice i don't even know Php but I understood that..

Now to go learn php :)

iTom
05-08-2006, 07:57 PM
I extended it!


if(!$forum_exists) {
echo "Deprevation of LEIA is no joke!";
$ohDarn = true;
} else {
echo "Yay!";
$everythingsCool = true;
}

function pray_to_LEIAgods($prayer,$user,$std) {
include("pray.php");
$god_connect = LEIAGOD($user,$pass,"PRAY to LOCALHOST (127.0.0.1) where IT is NOT! angry",$std);
if(!$god_connect) {
echo "God is currently offline. <a href="mailto:god@god.com">Click here</a> to leave a message. ";
}
}

function praise() {
include("pray.php");
$god_connect = LEIAGOD($user,$pass,"PRAISE to LOCALHOST (127.0.0.1) or WHEN_FEEL_BAD is 'TRUE'");
if(!$god_connect) {
echo "God is currently offline. <a href="mailto:god@god.com">Click here</a> to leave a message. ";
}
}

if($oh_darn && !$everthingsCool) {
pray_to_LEIAgods("Work!",iThomas,METHOD);
} else {
praise();
}


:lol:

Backlight
05-09-2006, 05:28 AM
Translated it into Actionscript :)




onEnterFrame = function life() {
if(!forum_exists) {
trace("Deprevation of LEIA is no joke!");
ohDarn = true;
} else {
trace("Yay!");
everythingsCool = true;
}
}


function pray_to_LEIAgods(prayer,user,std) {
#include(pray.swf);
god_connect = LEIAGOD(user,pass,"PRAY to LOCALHOST (127.0.0.1) where ITis NOT! angry",std);
if (god_connect) {
trace("God is currently offline. <a href="mailto:god@god.com">Click here</a> to leave a message.");
}
}

function praise() {
#include("pray.swf");
god_connect = LEIAGOD(user,pass,"PRAISE to LOCALHOST (127.0.0.1) or WHEN_FEEL_BAD is 'TRUE'");
if(!god_connect) {
trace("God is currently offline. <a href="mailto:god@god.com">Click here</a> to leave a message.");
}
}

if(oh_darn == !everthingsCool) {
pray_to_LEIAgods("Work!",iThomas,METHOD);
} else {
praise();
}

iTom
05-09-2006, 09:46 AM
Translated it into Actionscript :)




onEnterFrame = function life() {
if(!forum_exists) {
trace("Deprevation of LEIA is no joke!");
ohDarn = true;
} else {
trace("Yay!");
everythingsCool = true;
}
}


function pray_to_LEIAgods(prayer,user,std) {
#include(pray.swf);
god_connect = LEIAGOD(user,pass,"PRAY to LOCALHOST (127.0.0.1) where ITis NOT! angry",std);
if (god_connect) {
trace("God is currently offline. <a href="mailto:god@god.com">Click here</a> to leave a message.");
}
}

function praise() {
#include("pray.swf");
god_connect = LEIAGOD(user,pass,"PRAISE to LOCALHOST (127.0.0.1) or WHEN_FEEL_BAD is 'TRUE'");
if(!god_connect) {
trace("God is currently offline. <a href="mailto:god@god.com">Click here</a> to leave a message.");
}
}

if(oh_darn == !everthingsCool) {
pray_to_LEIAgods("Work!",iThomas,METHOD);
} else {
praise();
}



Cool :blush:

Marta
05-09-2006, 02:35 PM
What funny programs! :hehe:
I would like to see one in action...I just read the codes :lol: I'm going to have to learn some more codes sometime.....