mIRC Home    About    Download    Register    News    Help

Print Thread
#118107 22/04/05 12:01 PM
Joined: Dec 2002
Posts: 208
H
Hrung Offline OP
Fjord artisan
OP Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 208
This is a small bug that doesn't hurt anything, and isn't likely to come up in normal mirc use, but I thought I'd report it anyway. If you type some text in an editbox, followed by $crlf and the tab key, the line will disappear. On the next character entered, the line will be sent out, along with another msg containing whatever char was pressed. For example:

hi there $crlf<tab>
!

will send out two messages:
<Hrung> hi there
<Hrung> !

How many fun-filled variations can you find?

6.16/WinXP+sp2


If I knew now what I will know then... maybe things will have been different...
#118108 25/04/05 12:05 AM
Joined: Nov 2003
Posts: 227
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Nov 2003
Posts: 227
I'm guessing mirc does this because it thinks when it sees a carrage return and or line feed char in the edit box that you are pasting something in the editbox.
What you said does happen with me exactly as you said.
If you add this line to your remotes and test it again:

Code:
on *:input:#:if ($inpaste) echo -a pasting ...


you will see that mirc thinks you are pasting something when you do this.

I'm guessing there is no other way to tell the difference between you manualy inserting the end of line chars and pasting something.

Can this be fixed..
I'm guessing no, not without changing the way things are pasted too.

#118109 25/04/05 01:30 PM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
that's not entirely true.
when you paste something it will be sent right away (given it doesn't exceed any set number of lines in the config of mIRC).

this seems more like it treats the SINGLE LINE editbox as a MULTILINE edit box which it shouldn't

so in a way it's actually a bug or at least a hidden feature ;-]


If it ain't broken, don't fix it!

Link Copied to Clipboard