Yeah, there are lots of threads around here which cover general group restriction in more detail. but basically below the authenticate() function, add something like this: (substitute the group number you want to allow)
- Add U_Groups into the authenticate() function query.
- Below it add:
<br />if (!strstr($user['U_Groups'],"-5-")) {<br /> $html = new html;<br /> $html -> not_right("you are not allowed to do this.",$Cat);<br />}<br />
The above would all user group 5 access to the chatroom and block everyone else.