mIRC Homepage
Posted By: poiuy_qwert /bwrite bug - 10/10/05 06:23 PM
Well for some reason bwrite totally screws up with $chr(10). If you /bwrite with a binvar that has $chr(10) in it, you get a bunch of black boxes that when you try to use them in mIRC it turns it to a ? so i couldn't find out what they were. I went on a Unicode IRC client and pasted it in my channel and in mIRC it came up as '磾'. I create a small alias to repeat the bug:

Code:
alias bvarbug {
  bset -t &bvarbug 1 bug>*<bug
  breplace &bvarbug 42 10
  bwrite bvarbug.txt 1 -1 &bvarbug
}


PS: If anyone can tell me any other way to write a line of text with $chr(10) in it without creating multiple lines in the text file, could you tell me? Thanks a bunch!

Edit: Fixed very bad gramar
Posted By: Sat Re: /bwrite bug - 10/10/05 10:13 PM
Congratulations, you've discovered a bug in Windows Notepad grin

Try opening the file with any other text editor, such as wordpad
Posted By: poiuy_qwert Re: /bwrite bug - 12/10/05 12:28 PM
Wow.
© mIRC Discussion Forums