if ($type != 'thread' AND !in_array($vbulletin->userinfo['usergroupid'], array(5,6,7))AND $threadinfo['lastpost'] > TIMENOW - $dp_settings['timespan'] AND $threadinfo['lastposter'] == $vbulletin->userinfo['username']AND strlen($post['message']) <= 400){