How do i make a bot to pm someone if it triggers it?

like @find <name>

and then i want to build a database so i can add in the info?
Like
Name : Nickname:
Contacts Number: Icq: Msn:

the bot only respon to certain nick only.
is it possible?