<?php
/*
* Logs text to file
*/
function botlog($text)
{
if ($file = fopen(LOGFILE, 'a'))
fwrite($file, $text);
fclose($file);
}
?>