mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: Mar 2007
Posts: 218
V
vexed2 Offline OP
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
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,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Norton does this with certain $decode() scripts.

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

Can you tell us the ASCII numbers of those chars?

vexed2 #193458 19/01/08 07:19 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
hixxy #193459 19/01/08 07:19 PM
Joined: Mar 2007
Posts: 218
V
vexed2 Offline OP
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
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

vexed2 #193461 19/01/08 07:29 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
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
Joined: Mar 2007
Posts: 218
V
vexed2 Offline OP
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
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.

vexed2 #193463 19/01/08 07:35 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
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