mIRC Home    About    Download    Register    News    Help

Print Thread
#118204 23/04/05 04:42 AM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
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
#118205 23/04/05 04:55 AM
Joined: Nov 2003
Posts: 257
A
Fjord artisan
Offline
Fjord artisan
A
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.

#118206 23/04/05 12:41 PM
Joined: Feb 2005
Posts: 43
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Feb 2005
Posts: 43
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 } 


Check out http://kalsiddon.com for games, videos & more! Good for when your bored in work or school!
#118207 24/04/05 04:37 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
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
#118208 24/04/05 04:40 PM
Joined: Feb 2005
Posts: 43
M
Ameglian cow
Offline
Ameglian cow
M
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!
#118209 24/04/05 10:41 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
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
#118210 24/04/05 10:49 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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

#118211 24/04/05 11:07 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
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
#118212 25/04/05 11:05 AM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
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 frown


IceCapped
#118213 25/04/05 01:41 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
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

#118214 25/04/05 02:06 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
new versions are not compatible with script i use smirk


IceCapped
#118215 25/04/05 02:18 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Oh. Download a new one or make one. grin

#118216 25/04/05 02:19 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
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 smirk


IceCapped

Link Copied to Clipboard