View Single Post
Old 06-04-2007, 06:11 PM  
munki
Do Fun Shit.
 
munki's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: OC
Posts: 13,393
Quote:
Originally Posted by fetishblog View Post
I fixed the parse error!

Code:
<?php
function findsex() {
  $human = new human;
  $tonight = new night;
  $excuses = array('Headache','Migraine','Not Today','Menstration');
  $num_girl = random(0,count($human->girl));
  if ($human->girl[$num_girl]=="stupid")
  {
    $tonight->sex = true;
  }
  else
  {
    $tonight->sex = undefined;
    $result=trygetsex();
    if ($result==true){
      $tonight->sex = true;
    }
    else
    {
      $tonight->sex = false;
      $number = random(0,count($excuses));
      echo $excuses[$number]."<br/>";
    }
  }
  if ($tonight->sex = true) {
    echo "<b>Operation Successful!</b>";
    return 0;
  }
  else
    findsex();
}
?>
If all you get is a blank screen, then you're not getting lucky.
__________________

I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde
munki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote