Basic rule of programming for anything other than full-screen games:

KEEP YOUR HANDS OFF THE THINGS THE USER SHOULD BE SETTING

That goes for mIRC scripts just as much as it goes for text editors and bookkeeping programs. Most people will immediately remove a program that messes with their screen resolution.