mIRC Home    About    Download    Register    News    Help

Print Thread
#134600 02/11/05 11:17 PM
Joined: Dec 2002
Posts: 9
S
sMeller Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Dec 2002
Posts: 9
To reproduce this you will have to:
* Uncheck Multi-line editboxes under Options -> Display -> Options.
* Enable Confirm when pasting 10 or more lines of text under Options -> Other -> Confirm.

Enter the following code into Remote:
Code:
on *:INPUT:#:{ echo -ag $inpaste }


Now go and paste 10 lines in a channel using ctrl+v:

Code:
one
two
three
four
five
six
seven
eight
nine
ten


You should get a dialog asking you if you really want to paste that many lines. Click Yes with the mouse[/b]. It will echo $true which is what we want.

Now paste the same 10 lines but instead of clicking Yes with the mouse press Enter on your keyboard. It will now echo $false!

#134601 03/11/05 12:53 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
bizzare two different threads both on the same or similar thing within 20 mins of each other. (i answered on the other, pretty much i agreed with you) I didnt like your use of a channel to show it this, you might flood off frown

#134602 04/11/05 01:10 PM
Joined: Dec 2002
Posts: 9
S
sMeller Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Dec 2002
Posts: 9
I noticed this when I was helping the person that started the other thread but didn't see that he also started a thread.

I should have recommended you to lower the value of Confirm when pasting to 2 so you don't have to paste so many lines.


Link Copied to Clipboard