mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
V
vexed2
vexed2
V
I don't run any anti-virus
and i've found the problem
and it's a mIRC bug
i'll show you.

http://www.solid-ircd.com/marantz/mIRC/pics/theme_snippet4.png

see the + and arrows going up and right in the 'clones' bit?
The mIRC editor doesn't like them, i just replaced the + and arrows with other characters and mIRC saves all the code fine.

Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
Norton does this with certain $decode() scripts.

#193457 19/01/08 07:16 PM
Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
If that's the case I would definitely call it a bug.

Can you tell us the ASCII numbers of those chars?

#193458 19/01/08 07:19 PM
Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
If you have a literal ASCII codepoint 26 (ie. the value returned by $chr(26)) in your text then mIRC will only read up to that point. It's because on Windows this the End-of-file character which shouldn't appear in plain text files.

hixxy #193459 19/01/08 07:19 PM
V
vexed2
vexed2
V
Font i use to chat with is: Consolas
The script editor font is: MS Sans Serif

The 3 chars i was using were

$chr(24)
$chr(26)
$chr(43)

My guess is that it's the first 2 and not the + char

#193461 19/01/08 07:29 PM
Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
Going by what Starbucks said above, try using $chr(26) in your script rather than the literal character.

hixxy #193462 19/01/08 07:30 PM
V
vexed2
vexed2
V
yeah i'll try that.
Bizarre one though, even in the script editor it shows up as an actual arrow pointing right, i'd of never of thought that in a million years.

#193463 19/01/08 07:35 PM
Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
If you're using the same font in the script editor as you are in your theme (and you should be, consolas is THE coding font!) then it would appear as the same.

Page 2 of 2 1 2

Link Copied to Clipboard