I mean he $input part, mIRC doesn't let you use it in an event.you need use a /timer to initiate an input request after the script ends.