5k is the default. The setting is stored in mirc.ini, topic "options", item "n3", first token:
Code:
//echo -a window buffer is set to: $gettok($readini($mircini,options,n3),1,44)