On a macbook at school right now so I can't check (can't even find the mIRC help file online...) but I'm pretty sure there's an identifier that can get the server's character limit. It'd be easier to use that than to have to manually modify it for each server. Especially if you're on multiple servers.