Why do 3 differnt InStr's?

Why not just...

Code:
IF instr(@IPADDRESS0,"192.168.  5")



Instead of...

Code:
IF instr(@IPADDRESS0,"192") and instr(@IPADDRESS0,"168") and instr(@IPADDRESS0,"5")



Or like Jens said...Why check subnet at all if there is only one? Is it possible for someone to run your login script if they are not on your subnet?