I'm currently working on a "vhost maker" for my IRC server, and i want it so that its 1 vhost per user, to do this i figured i'd log ips and have it check each time a user creates a vhost, how would i go about making the ip log file and having it checked?