View Single Post
Old 03-19-2007, 04:10 AM  
AdultSlate
Registered User
 
Join Date: Mar 2007
Posts: 49
Quote:
Originally Posted by darksoul View Post
That would be a bad design if you use search.

Heres how the bot should work at the first thought:
Code:
$timer = 300; 
$thredid = 1231231; 
$winner  = 51;

while ($PostNumber = get_info($threadid)) {
$timer = $timer / ($winner + $PostNumber); # the wait time decreases as the winning post gets closer
if($PostNumber == $winner) {
makepost($threadid, "Did I win ?");
}
sleep($timer);
}
piece of cake.
Sharps $100 programmer is reading this, lol.
AdultSlate is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote