| 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
|
||||
|
||||
|
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 } |
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
||||
|
||||
|
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 :: |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
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 :: |
|
#6
|
||||
|
||||
|
Re: Blacklist snippet (Join event, Op event , Nick-change event)
Thanks Zack.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|