mIRC Home    About    Download    Register    News    Help

Print Thread
#148122 30/04/06 10:20 AM
Joined: Sep 2004
Posts: 10
M
Pikka bird
OP Offline
Pikka bird
M
Joined: Sep 2004
Posts: 10
when i copy & paste something from mozilla firefox webbrowser it shows ugly tabs in the output. Internet explorer doesn't have this. What i want is to replace the tabs with spaces while pasting it. How can i preprocess the input before it is send to a window?

i've seen it before but ofcourse can't find it anymore blush

#148123 30/04/06 02:34 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code:
on *:input:*:{
  if ($istok(chat channel query,$window($active).type,32)) && ((!$istok(/ $readini($mircini,text,commandchar),$left($1,1),32)) || ($ctrlenter)) say $replace($1-,$chr(9),$chr(32))
}


Link Copied to Clipboard