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:
on *:INPUT:#:{ echo -ag $inpaste }
Now go and paste 10 lines in a channel using ctrl+v:
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!