mIRC Home    About    Download    Register    News    Help

Print Thread
#186400 22/09/07 01:08 AM
Joined: Jun 2004
Posts: 25
Q
Quia Offline OP
Ameglian cow
OP Offline
Ameglian cow
Q
Joined: Jun 2004
Posts: 25
I've been working on a script which completely replaces mIRC's default channel windows with my own, and I've run into a little snag with /aline. It seems that ctr-i is actually interpreted as an indent, instead of a little blank box. It puts the text after the ctr-i 9 characters from the start of the line, overwriting whatever else SHOULD have been there.

Has anyone else run into this problem? And if so, is there a way around it?

Quia #186443 22/09/07 08:26 PM
Joined: Jun 2004
Posts: 25
Q
Quia Offline OP
Ameglian cow
OP Offline
Ameglian cow
Q
Joined: Jun 2004
Posts: 25
Meh. For lack of a more elegant solution, I've just changed all my $1-'s to $remove($1-,ctr+i)

Quia #186446 22/09/07 09:02 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Well the reason for the indents is that the character produced by Ctrl+I ($chr(9)) is the tab character. It doesn't render as a tab in channel windows, presumably because it doesn't really facilitate chatting but it would be very annoying if someone flooded the screen with messages full of tabs. Of course none of that is relevant in custom windows so tabs are rendered normally to allow for text alignment.


Spelling mistakes, grammatical errors, and stupid comments are intentional.

Link Copied to Clipboard