@Alco` it may be the version of mIRC you are using. what version are you using? iv noticed that $regsubex does not work with older versions of mIRC.