27 August, 2006

miscellany: starting to port code back into plugins

Now that some of the bot code is starting to function as intended, I've started sticking it out of the main bot code, and back into the plugin format which didn't work when I first started this little project.

The department member add/remove works, and so does the current pseudo-email. Went with the unstored blob method, which will no doubt be the wrong choice-- could pretty easily go back to storing everything, but I don't currently feel like it.

Still working on interdepartmental messaging, forums (or "reports"), and maybe a departmental listing. Perhaps even allow for users to post a bit of biographical information and a departmental affiliation.


while($coding_headaches>=0 || $hateful>=0 || ($foo>=0 && $bar>=0)){if(!empty($cigarettes)){if(file_exists("pocket/cigarettecase/cigarettes")){$cigsmoke=
fopen("pocket/cigarettecase/cigarettes", "w");if($cigarettes>=1) {$cigarettes--;fwrite($cigsmoke,"cough cough");fclose($cigsmoke);$coding_headaches--;$hateful--;$foo--;$bar--;}
else{$no_cigarettes="aaaaaaarrrrgh!";echo $no_cigarettes;$coding_headaches++;$hateful++;$foo++;$bar++;}}}
if(empty($coffeecup)){
if(file_exists("kitchen/apps/coffeemaker"))
{$coffee=fopen("kitchen/apps/coffeemaker", "w");$scoop=0;$h20=0;
while($scoop<15){$scoop++;while($h20<10){$h20=++;}}$ready=600;
while($ready>=600){$ready--;}if ($ready==0){fwrite($coffee,"done");fclose($coffee);$
coffeecup=10;}}else{$no_coffee="aaaaaaarrrrgh!";echo $no_coffee;$coding_headaches++;$hateful++;$foo++;$bar++;}}
if($coffeecup>=1){$coffeecup--;$coding_headaches--;
$hateful--;$foo--;$bar--;}if($no_cigarettes=="aaaaaaarrrrgh!" && $no_coffee="aaaaaaarrrrgh!"){if($coding_headaches!=0 && $hateful!=0 && ($foo+$bar!=0)){$coding_headaches=$coding_headaches*$hateful*($foo + $bar);}}}


0 Comments:

Post a Comment

<< Home