mIRC Home    About    Download    Register    News    Help

Print Thread
#195934 06/03/08 07:52 AM
Joined: Mar 2008
Posts: 31
M
maSeeha Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Mar 2008
Posts: 31
i want to ban IP in C Class in this Script please help me to modify the script

like i want ban on ip like *!*@203.99.55.* instead of *!*@203.99.55.66

Script is

if (hot isin $nick) || (stud isin $nick) {
if (hotmail isin $nick) || (hotnews isin $nick) || (hotcake isin $nick) || (hota isin $nick) || (student isin $nick) || (study isin $nick) return
else kick # $nick 4[bad nick | ban -u300 # $nick
}

waiting for feed back please

maSeeha #195942 06/03/08 02:41 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

I guess that would be mask type 4.

ban -u300 # $nick 4

~ Edit ~
Removed reference to the -k switch after reading your other thread.

Also, you can get a list of mask types by typing in mIRC
/help $mask

maSeeha #195960 07/03/08 12:39 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
try using
Code:
ban -u300 # $puttok($address($nick,4),*,-1,46)



Link Copied to Clipboard