no script is needed for that, simply create/add the hostmask to some user handle in the bot, then set info field for that record (don't forget to set the channel +greet)
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use