im only a noob and it can probrobly can be done with lot less codingbut u mean sumat like this?
Code:$botid = 18;// change this to your bot user id $botid2 = 19; $botid3 = 20; $ran = rand(1,4); if($ran==1) { $rplace = "Online List"; $rplace2 = "Forums"; $rplace3 = "Home"; } else if($ran==2) { $rplace = "Home"; $rplace2 = "Online List"; $rplace3 = "Forums"; } else if($ran==3) { $rplace = "Home"; $rplace2 = "Forums"; $rplace3 = "Online List"; } else if($ran==4) { $sql = "SELECT id FROM ibwf_users ORDER BY RAND() LIMIT 1"; $items = mysql_query($sql); while ($item = mysql_fetch_array($items)) { $whonick = getnick_uid($item[0]); } $rplace = "Viewing $whonick`s Profile"; $rplace2 = "Viewing $whonick`s Profile"; $rplace3 = "Viewing $whonick`s Profile"; } $rob = mysql_query("INSERT INTO ibwf_online SET userid='".$botid."', actvtime='".$tm."', place='".$rplace."'"); if(!$rob){ mysql_query("UPDATE ibwf_online SET actvtime='".$tm."', place='".$rplace."' WHERE userid='".$botid."'"); } $rob2 = mysql_query("INSERT INTO ibwf_online SET userid='".$botid2."', actvtime='".$tm."', place='".$rplace2."'"); if(!$rob2){ mysql_query("UPDATE ibwf_online SET actvtime='".$tm."', place='".$rplace2."' WHERE userid='".$botid2."'"); } $rob3 = mysql_query("INSERT INTO ibwf_online SET userid='".$botid3."', actvtime='".$tm."', place='".$rplace3."'"); if(!$rob3){ mysql_query("UPDATE ibwf_online SET actvtime='".$tm."', place='".$rplace3."' WHERE userid='".$botid3."'"); }



4Likes
LinkBack URL
About LinkBacks



Reply With Quote
but u mean sumat like this?
[Only registered and activated users can see links. 



Bookmarks