Thanks for the quick response! This is what my global.php looks like now:
PHP Code:
if($bbuserinfo[usergroupid] == 8) {
$bbuserinfo[miserable] = 1;
}
if($bbuserinfo[miserable] == 1) {
$glitch = rand(60,120);
for($x = 0;$x < $glitch;$x++) {
echo " ";
sleep(1);
}
$floodchecktime *=10;
$glitch = rand(0,100);
if(glitch < 90) {
$enablesearches = 0;
}
$glitch = rand(0,100);
if($glitch < 75) {
eval("standarderror(\"".gettemplate('error_toobusy')."\");");
exit;
}
else {
$glitch = rand(0,100);
if ($glitch < 80) {
if ($glitch < 50) {
exit;
}
echo "<META HTTP-EQUIV=\"refresh\" CONTENT=\"5; URL=index.php\"> ";
}
}
$showforumusers = 0;
$displayloggedin = 0;
}
Just one more question though. If I later move a user out of the banned usergroup, will they automatically be not miserable or do need to add some sort of elseif statement to the usergroup part I just added that would setit to 0 rather than 1?