The first step is to read mIRC's help file, experiment and practice. if stuck, post your code and ask for help and learn from it.