| Arcades | Library | Travel | MP3 | Directory | Horoscope | Downloads | Mobile | Movies | Gallery | PHP Group |
| mIRC :: SCRIPTING & HELP mIRC Scripting help, General help, Tips and Tricks! |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Bad nick(on join)
on @*:join:#:{ if ($regex($nick,/(fuck|dick|testicles|pussy|sharmoota|khara|charmoo ta|manyak|sharmota|charmota|charmouta|sharmouta|bi tch|whore)/i)) { ban -u300 # $nick 2 | kick # $nick banned:bad nick detected. } }
|
|
#2
|
||||
|
||||
|
Re: Bad nick(on join)
Shiah, pretty good remote but u must made H tables they are pretty good faster ... and nice way in using $regex .. and make a way for example DIALOG to edit the bad nicks and with wild cards !
__________________
Me here, Me gone. |
|
#3
|
||||
|
||||
|
Re: Bad nick(on join)
Man,actually I do not know very much to work with hashtables :(
|
|
#4
|
||||
|
||||
|
Re: Bad nick(on join)
Man,actually I do not know how to work with hashtables that much* :(
|
|
#5
|
||||
|
||||
|
Re: Bad nick(on join)
good work bro... but making it as a dialog is better... editable.
__________________
|
|
#6
|
||||
|
||||
|
Re: Bad nick(on join)
Quote:
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity :: |
|
#7
|
||||
|
||||
|
Re: Bad nick(on join)
Check this : www.splodgeworld.com <-- its all bout tutorial
__________________
Me here, Me gone. |
|
#8
|
||||
|
||||
|
Re: Bad nick(on join)
Code:
on *:JOIN:#: {
if ( $me isop $chan ) {
if ($nick isin %badnicks) {
if ( %curhandlingbadnick == on ) {
set %akicker $addtok(%akicker,$nick,44)
kick $chan $nick Please change your nick then rejoin
halt
}
set %curhandlingbadnick on
set %badnickj $nick
set %badnickc $chan
set %badnicka $address($nick,2)
msg $chan $nick $+ , you have 30 seconds to change your nickname or be kick/banned!
timer888 1 30 checknick
}
if ( $nick isin %akicker ) && ( %curhandlingbadnick == on ) {
kick $chan $nick Please change your nick then rejoin
}
}
}
on *:NICK: {
if ( $nick == %badnickj ) {
timer888 off
unset %curhandlingbadnick
unset %akicker
}
}
;;;;;in your aliases add this: Code:
/addbadnick {
if ( $1 == $null ) {
echo -a $colour(info) * You must specify a nick to add!
halt
}
set %count $0
set %on 1
:thelabel
set %badnicks $addtok(%badnicks,$ $+ %on,44)
inc %on 1
if ( %on != %count ) {
goto thelabel
}
}
/checknick {
unset %curhandlingbadnick
unset %akicker
if ( %badnickj ison %badnickc ) {
kick %badnickc %badnickj You did not change your nick; enjoy your ban!
mode %badnickc +b %badnicka
}
}
__________________
Last edited by Cult; 21-02-2006 at 11:34 AM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Usher Lyrics !!! | 7assouna | Lyrics & Poems Section | 27 | 19-04-2008 03:34 PM |
| auto join | Cult | mIRC :: SCRIPTING & HELP | 2 | 03-03-2006 06:23 PM |
| tinny auto join dialog | Cult | mIRC :: SCRIPTING & HELP | 0 | 13-09-2005 04:17 PM |
| Who have bad day??? | Java_Girl | Jokes Daily Told , One Liners, And Adult | 0 | 28-03-2005 02:01 AM |
| bad bad bad day | HoTlOvE | Jokes Daily Told , One Liners, And Adult | 0 | 21-02-2005 11:39 AM |