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

User Name
Password
Go Back   Tchatting.com Forums > Main Forum > Technical Forum, Technical Aspects and Information > mIRC :: SCRIPTING & HELP
Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2005, 10:03 AM
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
Thumbs up Blacklist snippet (Join event, Op event , Nick-change event)

on *:op:#:{
if ($opnick == $me) {
var %ss = 1
while (%ss <= $ulist(*,black,0)) {
if ($gettok($ulist(*,black,%ss),1,33) ison #) { ban -k # $gettok($ulist(*,black,%ss),1,33) 2 Blacklist : $ulist(*,black,%ss).info }
inc %ss
}
}
}

on !*:nick:{
if ($ulist($address($newnick,6))) {
var %x = 1
while (%x <= $comchan($newnick,0)) {
if ($me isop $comchan($newnick,%x)) { ban -k $comchan($newnick,%x) $gettok($ulist($address($newnick,6)),1,33) 2 Blacklist : $ulist($address($newnick,6)).info }
inc %x
}
}
}

on @*:join:#:{ if ($ulist($address($nick,6))) { ban -k # $gettok($ulist($address($nick,6)),1,33) 2 Blacklist : $ulist($address($nick,6)).info } }

menu nicklist {
Add blacklist:auser black $$1 $$?="Enter a reason" | ban -k $$1 2 Blacklist : $ulist($address($$1,6)).info
}
Reply With Quote
  #2  
Old 09-03-2005, 10:09 AM
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: Blacklist snippet (Join event, Op event , Nick-change event)

I wonder why the first line have emotion, its : on *: op but do not add space between them, i did it so, just not to have emotion.
Reply With Quote
  #3  
Old 10-03-2005, 01:55 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: Blacklist snippet (Join event, Op event , Nick-change event)

Try using the forum advanced settings when you post, wrape the codes with [ code ] and [ / code ] just loose the spaces and you should be fine.
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #4  
Old 10-03-2005, 11:51 AM
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: Blacklist snippet (Join event, Op event , Nick-change event)

Lol i tried to do so dude, didnt have any shit work i did like this :
Code:
 code here
code here
Didnt work dude.
Reply With Quote
  #5  
Old 11-03-2005, 02:05 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: Blacklist snippet (Join event, Op event , Nick-change event)

Code:
on *:op:#:{
  if ($opnick == $me) {
    var %ss = 1
    while (%ss <= $ulist(*,black,0)) {
      if ($gettok($ulist(*,black,%ss),1,33) ison #) { ban -k # $gettok($ulist(*,black,%ss),1,33) 2 Blacklist : $ulist(*,black,%ss).info }
      inc %ss
    }
  }
}

on !*:nick:{
  if ($ulist($address($newnick,6))) {
    var %x = 1
    while (%x <= $comchan($newnick,0)) {
      if ($me isop $comchan($newnick,%x)) { ban -k $comchan($newnick,%x) $gettok($ulist($address($newnick,6)),1,33) 2 Blacklist : $ulist($address($newnick,6)).info }
      inc %x
    }
  }
}

on @*:join:#:{ if ($ulist($address($nick,6))) { ban -k # $gettok($ulist($address($nick,6)),1,33) 2 Blacklist : $ulist($address($nick,6)).info } }

menu nicklist {
  Add blacklist:auser black $$1 $$?="Enter a reason" | ban -k $$1 2 Blacklist : $ulist($address($$1,6)).info
}
__________________
:: i have been since the dawn of time. i will be until the dusk of eternity ::
Reply With Quote
  #6  
Old 11-03-2005, 01:37 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: Blacklist snippet (Join event, Op event , Nick-change event)

Thanks Zack.
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

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