|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
Hoopy frood
Joined: Apr 2005
Posts: 1,009 |
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 ?
IceCapped
|
|
|
|
Joined: Nov 2003
Posts: 257
Fjord artisan
|
Fjord artisan
Joined: Nov 2003
Posts: 257 |
why on earth are on you 6.03? you are leaving yourself open to exploits i'd suggest upgrading to 6.16.
|
|
|
|
Joined: Feb 2005
Posts: 43
Ameglian cow
|
Ameglian cow
Joined: Feb 2005
Posts: 43 |
I have used 6.03 in the past, I liked it.. Anyways try using this instead. 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 }
Check out http://kalsiddon.com for games, videos & more! Good for when your bored in work or school!
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
Hoopy frood
Joined: Apr 2005
Posts: 1,009 |
will then dcc recive work normal and block only those who want to crash me or it will again block all recive?
IceCapped
|
|
|
|
Joined: Feb 2005
Posts: 43
Ameglian cow
|
Ameglian cow
Joined: Feb 2005
Posts: 43 |
It should only block those who try to use the crash exploit on you.
Check out http://kalsiddon.com for games, videos & more! Good for when your bored in work or school!
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
Hoopy frood
Joined: Apr 2005
Posts: 1,009 |
butt...
where to pot it... coz there is no ON DCC or ON CTCP event :P ?
IceCapped
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
It goes in remotes. CTCP is an event. But it isn't on CTCP.
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
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
Hoopy frood
Joined: Apr 2005
Posts: 1,009 |
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
Last edited by raZOR; 24/04/05 11:09 PM.
IceCapped
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
Hoopy frood
Joined: Apr 2005
Posts: 1,009 |
and theres only /ctcps for on/off and /ctcpreply in help :tongue: so i dont think this thing of code works at all 
IceCapped
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
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
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
Hoopy frood
Joined: Apr 2005
Posts: 1,009 |
new versions are not compatible with script i use 
IceCapped
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Oh. Download a new one or make one. 
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
Hoopy frood
Joined: Apr 2005
Posts: 1,009 |
script was abandoned in year 2001 i think and me to rescript it is too big lost of time 
IceCapped
|
|
|
|
|
|