mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2008
Posts: 13
T
tessa1 Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Jan 2008
Posts: 13
Running 6.34 and I cant find the replace spaces with underscores when I receive a DCC. I know that it was there before but I just cant find it in options after my recent reformating of windows (xp).

Last edited by tessa1; 09/07/09 07:13 PM.
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

To bring up the DCC Send dialog type /dcc send

Joined: Jan 2008
Posts: 13
T
tessa1 Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Jan 2008
Posts: 13
Yea, but that is only when I'm sending files.. not receiving them ?

I want to replace spaces with underscores when other people are sending a file to me.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
see /help on filercvd

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Paste the following under the Remotes (alt+r) tab of the mIRC script editor. To turn it off, type /disable #FillSpaces

Code:

#FillSpaces on
on *:FILERCVD:*: {
  if ($chr(32) !isin $nopath($filename)) return
  .rename $qt($filename) $+(",$nofile($filename),$replace($nopath($filename),$chr(32),_),")
}
#FillSpaces end


Joined: Jan 2008
Posts: 13
T
tessa1 Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Jan 2008
Posts: 13
Wow, thanks for the script !


Link Copied to Clipboard