I only want to run Limitlogin scripts for students if they login to certain rooms and trolleys, this is to stop problems happening when they logon/off laptops with 2.4ghz wireless, limit login works fine everywhere else.

I don't mind how its done as long as the script stops limitlogin being used on certain computers.
what I need it to do is look at the computer name, if it meets certain conditions then end the script, if the computername does not meet these conditions then proceed to run limitlogin scripts.

Please help