mIRC Home    About    Download    Register    News    Help

Print Thread
#132464 10/10/05 06:23 PM
Joined: Oct 2005
Posts: 21
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Oct 2005
Posts: 21
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

Last edited by poiuy_qwert; 10/10/05 06:28 PM.

- poiuy_qwert
#132465 10/10/05 10:13 PM
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
Congratulations, you've discovered a bug in Windows Notepad grin

Try opening the file with any other text editor, such as wordpad


Saturn, QuakeNet staff
#132466 12/10/05 12:28 PM
Joined: Oct 2005
Posts: 21
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Oct 2005
Posts: 21
Wow.


- poiuy_qwert

Link Copied to Clipboard