mIRC Home    About    Download    Register    News    Help

Print Thread
disable paste in all windows, but status window? #226711 12/10/10 03:23 PM
Joined: Jul 2006
Posts: 248
B
bwuser Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Jul 2006
Posts: 248
Can someone give me please a little script, which disables the ability to paste anything into channels and querys?

Re: disable paste in all windows, but status window? [Re: bwuser] #226720 12/10/10 09:54 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Different, and since you knew that was going to be a script, you also should've realized that the request belongs in the Scripts & Pop-Ups section.

That aside, I think this should work (can't test it right now)
Code:
on *:input:*:{
  if $inpaste && ($window($active).type != status) { halt }
}


Re: disable paste in all windows, but status window? [Re: RusselB] #226754 14/10/10 10:40 AM
Joined: Jul 2006
Posts: 248
B
bwuser Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Jul 2006
Posts: 248
Ok. Thank you.

Unfortunately the script doesn't work.