I know how to do this... Rather easy in fact.
Only thing is... The method requires saving the users IP into a database, so if I made it, all the members who had signed up before I made it would be un-IPBannable.
We mean that, the IP gets saved automatically on every login, on php script-starts check if the person is banned, in case he is stop the script, or whatever.