mIRC Home    About    Download    Register    News    Help

Print Thread
#45613 31/08/03 05:13 AM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
Code:
on ^*:DCCSERVER:SEND:{
  echo -a $nick Wants To Send You $filename | halt
  haltdef
}

this is my 1st attempt, at any kind of dcc stuff, so i thought i would start off basic, shouldn't that echo: "somenick wants to send you somefile.sometype" then halt?, if not please help :tongue:.
also a list of the related commands(with a simple explanation) would be great, considering i find the help file doesn't explain it very well :tongue:


new username: tidy_trax
#45614 31/08/03 08:14 AM
Joined: Dec 2002
Posts: 16
T
tye Offline
Pikka bird
Offline
Pikka bird
T
Joined: Dec 2002
Posts: 16
The ON DCCSERVER SEND event is triggered when someone tries to send you a file through your DCC server.

If you want to catch sends that are initiated through the IRC server you need to use the CTCP event:

ctcp *:dcc send *:*: { echo $colour(info) -ti2a *** DCC Send from $nick ( $+ $Longip($4) $+ : $+ $5 $+ ) $3 ( $+ $6 bytes) }

For a better description of what the DCCSERVER is, read the "DCC Server" section of the help file.


Tye on Undernet and DALnet
#45615 31/08/03 07:23 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
ah thanks, i thought it was just when someone tried to send a file, no servers or anything :tongue:


new username: tidy_trax

Link Copied to Clipboard