$tot = 1600; $l=200; $min = 50; $max = 900; $global = array(); $global["md"] = 0; $oracle[]="Go for it!"; $oracle[]="Yes."; $oracle[]="Yes, in due time."; $oracle[]="Looks good to me!"; $oracle[]="Looking good!"; $oracle[]="Probably."; $oracle[]="Who knows?"; $oracle[]="I have my doubts."; $oracle[]="Outlook so so."; $oracle[]="You will have to wait."; $oracle[]="Don't bet on it."; $oracle[]="Are you kidding?"; $oracle[]="My sources say no."; $oracle[]="Definitely not."; $oracle[]="Forget about it."; function make_ai($classe,$l,$t,$min,$max){ global $global; $maxdelay =0; $buff=""; for ($i=0;$i<$l;$i++){ $delay = mt_rand($min, $max); if ($delay>$maxdelay){ $maxdelay = $delay; } $d = mt_rand(0, $t); if ($d > ($t/2)){ $buff.='