i suggest adding parent window attribute to those identifiers
like -2 for main mIRC window -4 for currently active window

and i suggest adding file extentions attribute to sfile and msfile

and as this is my first post here

mIRC is awesome