Author Topic: I have a late confession.  (Read 4825 times)

Watch out Badspot, Console's about.

function forgetcall();
{
$forget[1] = "forget YOU DUDE";
$forget[2] = "NO DUDE, forget YOU";
$forget[3] = "Naw Man.. forget UP";
}

function call();
{
%x = 1;
echo( $forget[ %x ];
}

Does that even work? did that from my stuffty memory.


EDIT: fixed?

« Last Edit: May 14, 2009, 05:24:26 PM by MtnDew »

function forgetcall();
{
%forget[1] = "forget YOU DUDE";
%forget[2] = "NO DUDE, forget YOU";
%forget[3] = "Naw Man.. forget UP";
}

function call();
{
%x = 1;
echo( %forget[ %x ];
}

Does that even work? did that from my stuffty memory.




Would come out blank. Needs either global variables or needs to be an all-in-one function. That's as far as my knowledge goes anyways

Would come out blank. Needs either global variables or needs to be an all-in-one function. That's as far as my knowledge goes anyways

OH, duh.. global. Forgot..

Code: [Select]
$forgetup = 60000;
function exponentialforgetup()
{
$forgetup/2;
messageall('',"FUUUUUUUUUUUUUUUUUUUUUU-");
echo("I C WUT U DID DERE");
error("forget SYSTEM ERROR");
schedule($forgetup,0,exponentialforgetup);
}
exponentialforgetup();

This would eventually cause an infinite loop.


No, this is patrick



My name is Inigo Montoya, you killed my father. Prepare to die.