mIRC Homepage

disable paste in all windows, but status window?

Posted By: bwuser

disable paste in all windows, but status window? - 12/10/10 03:23 PM

Can someone give me please a little script, which disables the ability to paste anything into channels and querys?
Posted By: RusselB

Re: disable paste in all windows, but status window? - 12/10/10 09:54 PM

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 }
}

Posted By: bwuser

Re: disable paste in all windows, but status window? - 14/10/10 10:40 AM

Ok. Thank you.

Unfortunately the script doesn't work.
© 2021 mIRC Discussion Forums