Tchatting.com Forums
mIRC :: SCRIPTING & HELP mIRC Scripting help, General help, Tips and Tricks!

User Name
Password
Reply
 
Thread Tools Display Modes
  #1  
Old 30-03-2005, 09:30 PM
shiah's Avatar
shiah shiah est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 107
shiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud of
Send a message via AIM to shiah Send a message via MSN to shiah
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. } }
Reply With Quote
  #2  
Old 31-03-2005, 03:50 PM
anmlhckr's Avatar
anmlhckr anmlhckr est déconnecté
Scripting Mod
 
Join Date: Jan 2005
Location: LB
Posts: 163
anmlhckr will become famous soon enoughanmlhckr will become famous soon enough
Send a message via MSN to anmlhckr Send a message via Yahoo to anmlhckr
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.
Reply With Quote
  #3  
Old 31-03-2005, 09:00 PM
shiah's Avatar
shiah shiah est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 107
shiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud of
Send a message via AIM to shiah Send a message via MSN to shiah
Re: Bad nick(on join)

Man,actually I do not know very much to work with hashtables :(
Reply With Quote
  #4  
Old 31-03-2005, 09:07 PM
shiah's Avatar
shiah shiah est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 107
shiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud of
Send a message via AIM to shiah Send a message via MSN to shiah
Re: Bad nick(on join)

Man,actually I do not know how to work with hashtables that much* :(
Reply With Quote
  #5  
Old 31-03-2005, 09:32 PM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,124
Cult is a jewel in the roughCult is a jewel in the roughCult is a jewel in the rough
Send a message via MSN to Cult
Re: Bad nick(on join)

good work bro... but making it as a dialog is better... editable.
__________________
Reply With Quote
  #6  
Old 01-04-2005, 01:57 AM
ZAcK's Avatar
ZAcK ZAcK est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Upper Saddle River, NJ USA
Posts: 54
ZAcK is on a distinguished road
Re: Bad nick(on join)

Quote:
Originally Posted by shiah
Man,actually I do not know how to work with hashtables that much* :(
Message me here or MemoServ me your email, and I’ll send you a veryyyyy nice tutorial about Hash Tables, that is IF you want to get to know about them of course.
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #7  
Old 02-04-2005, 06:19 PM
anmlhckr's Avatar
anmlhckr anmlhckr est déconnecté
Scripting Mod
 
Join Date: Jan 2005
Location: LB
Posts: 163
anmlhckr will become famous soon enoughanmlhckr will become famous soon enough
Send a message via MSN to anmlhckr Send a message via Yahoo to anmlhckr
Re: Bad nick(on join)

Check this : www.splodgeworld.com <-- its all bout tutorial
__________________
Me here, Me gone.
Reply With Quote
  #8  
Old 21-02-2006, 11:30 AM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,124
Cult is a jewel in the roughCult is a jewel in the roughCult is a jewel in the rough
Send a message via MSN to Cult
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump

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

All times are GMT. The time now is 12:45 AM.
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
All data and information are copyright of DOTLeb Network