mIRC Homepage
Posted By: raZOR dcc trouble - 23/04/05 04:42 AM
my script uses mirc 6.03 and i have this
On *:logon:*: {
if (%dcce == On) { .ignore -wd *!*@* }
}

On *:notice:dcc & *:?: {
if (%dcce == On) { .ignore -xu10 $nick }
}

coz of that "exploit", but thing is that sometime i can get dcc and sometime not...

why does it work so random ?
Posted By: alkahol1k Re: dcc trouble - 23/04/05 04:55 AM
why on earth are on you 6.03? you are leaving yourself open to exploits i'd suggest upgrading to 6.16.
Posted By: Mike2005 Re: dcc trouble - 23/04/05 12:41 PM
I have used 6.03 in the past, I liked it.. Anyways try using this instead.

Code:
ctcp *:dcc send:*: if ($len($nopath($filename)) >= 225) { echo 4 -a $nick tried to crash you with an illegal dcc send of $nopath($filename) | halt } 
Posted By: raZOR Re: dcc trouble - 24/04/05 04:37 PM
will then dcc recive work normal and block only those who want to crash me or it will again block all recive?
Posted By: Mike2005 Re: dcc trouble - 24/04/05 04:40 PM
It should only block those who try to use the crash exploit on you.
Posted By: raZOR Re: dcc trouble - 24/04/05 10:41 PM
butt...

where to pot it...
coz there is no ON DCC or ON CTCP event :P ?
Posted By: SladeKraven Re: dcc trouble - 24/04/05 10:49 PM
It goes in remotes. CTCP is an event. But it isn't on CTCP.

Code:
ctcp *:dcc send:*: if ($len($nopath($filename)) >= 225) { echo 4 -a $nick tried to crash you with an illegal dcc send of $nopath($filename) | halt }


CTCP level:matchtext:target: { commands }

/help CTCP events

-Andy
Posted By: raZOR Re: dcc trouble - 24/04/05 11:07 PM
i still cant recive files over dcc...

i get only this:

(01:02) [CTCP DCC] requested by someuser (id@host)

i changed a code a bit for my script... hope it doesnt bother

On *:logon:*: {
if (%dcce == On) { .enable #DCCE }
elseif (%dcce == Off) { .disable #DCCE }
}

#DCCE on
ctcp *:dcc send:*: if ($len($nopath($filename)) >= 225) { echo 4 -a $nick tried to crash you with an illegal dcc send of $nopath($filename) | halt }
#DCCE end
Posted By: raZOR Re: dcc trouble - 25/04/05 11:05 AM
and theres only
/ctcps for on/off
and
/ctcpreply
in help :tongue:


so i dont think this thing of code works at all frown
Posted By: SladeKraven Re: dcc trouble - 25/04/05 01:41 PM
I'm not using the code, either stop DCC-ing or change version to enable you too hehe. :tongue:

There are a few CTCP topics in the help file.

[*]CTCP Events
[*]CTCP prefix
[*]/ctcpreply
[*]/ctcps

Yes we all know mIRC 6.03 has a DCC exploit so why not upgrade? Doing so will enable you to use other implemented features to make your scripting easier.

-Andy
Posted By: raZOR Re: dcc trouble - 25/04/05 02:06 PM
new versions are not compatible with script i use smirk
Posted By: SladeKraven Re: dcc trouble - 25/04/05 02:18 PM
Oh. Download a new one or make one. grin
Posted By: raZOR Re: dcc trouble - 25/04/05 02:19 PM
script was abandoned in year 2001 i think and me to rescript it is too big lost of time smirk
© mIRC Discussion Forums