This source will make a dll when compiled that will work with mIRC by using $dll(dll,GetStuPID,$null) identifier in mIRC