mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2016
Posts: 2
K
Kiisuke Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
K
Joined: Feb 2016
Posts: 2
I've just upgraded to Windows 10 and now when I look at scripts or try to use CTRL+B (or CTRL+O, Italics, Underline, whatever) it doesn't show anything. Before it used to show a small block so I could tell where the code actually was and how many were in the line but now nothing. It's making editing certain scripts a pain.

Anyone know how to fix this?

Joined: Jul 2006
Posts: 4,211
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,211
These characters are called non printable character, they are not meant to be displayed/printed, in the past we were basically lucky to get them rendered in some ways that wasn't a pain.
It never was a good idea to use these character as it is in scripts, a terrible idea in fact.

You should be using $chr()'s equivalency of these characters in your script to make it clear, $chr(2) is bold etc, you can use $asc() to get the ascii number of these characters, but here is the list:
2 for bold - control + b
3 for color - control + k
15 for 'stop' - control + o
22 for reverse - control + r
29 for italic - control + i
31 for underline - control + u

Use that in your script.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Feb 2016
Posts: 2
K
Kiisuke Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
K
Joined: Feb 2016
Posts: 2
Hm, that's disappointing considering it's always worked for the last 10 years or so that I've been using mIRC. Guess Windows 10 changes it and doesn't have anything show up for it.

And while that's a massive pain to try to edit thousands of lines in scripts, that's at least doable. Using the $chr commands doesn't help me in the chat box or trying to edit a topic.

Still, thanks for the response.

Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
It's based in Font. try installing an font that supports these mIRC characters in order to display them.

You can use this font Fixedsys Excelsior 3.01: http://www.fixedsysexcelsior.com/fonts/FSEX300.ttf

Install it and change the font from the mIRC and use 12 size (in order to be the same as the original Fixedsys), the 'underline' and 'italic' characters it display them as <space> and not as symbol.


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard