mIRC Home    About    Download    Register    News    Help

Print Thread
BAN sticky/permanent #170629 11/02/07 10:13 PM
Joined: Feb 2007
Posts: 28
S
sner Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Feb 2007
Posts: 28
Can anyone assist me regarding this code..
-------------------------
on 1*:unban:#thunder: {
if (*!*@what.* iswm -b $banmask) || (*!*@why.* iswm -b $banmask) || (*!*@who.* iswm -b $banmask) {
mode #thunder +b $banmask
}
}
-------------------------
if i will unban these following host/ip all together
( MYNICK sets mode: -b *!*@.what* *!*@.why* *!*@who.* )

then..
my script will ban one by one, like this.
MYNICK sets mode: +b *!*@.what*
MYNICK sets mode: +b *!*@.why*
MYNICK sets mode: +b *!*@who.*

is there any possible way that can set ban mode all at once? =)
like this..
( MYNICK sets mode: +b *!*@.what* *!*@.why* *!*@who.* )


Re: BAN sticky/permanent [Re: sner] #170630 11/02/07 10:42 PM
Joined: Nov 2005
Posts: 105
D
drc4 Offline
Vogon poet
Offline
Vogon poet
D
Joined: Nov 2005
Posts: 105
Originally Posted By: sner
Can anyone assist me regarding this code..
-------------------------
on 1*:unban:#thunder: {
if (*!*@what.* iswm -b $banmask) || (*!*@why.* iswm -b $banmask) || (*!*@who.* iswm -b $banmask) {
mode #thunder +b $banmask
}
}
-------------------------
if i will unban these following host/ip all together
( MYNICK sets mode: -b *!*@.what* *!*@.why* *!*@who.* )

then..
my script will ban one by one, like this.
MYNICK sets mode: +b *!*@.what*
MYNICK sets mode: +b *!*@.why*
MYNICK sets mode: +b *!*@who.*

is there any possible way that can set ban mode all at once? =)
like this..
( MYNICK sets mode: +b *!*@.what* *!*@.why* *!*@who.* )


Code:
 using /mode #Channel +bbb *!*@.what* *!*@.why* *!*@who.* 
should do the trick. Just take a look at /help on UNBAN.

Re: BAN sticky/permanent [Re: drc4] #170674 12/02/07 06:53 PM
Joined: Feb 2007
Posts: 28
S
sner Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Feb 2007
Posts: 28
Thnx a mucho mate! it's works perfectly just fine..
-----------------------
on 1*:unban:#thunder: {
if (*!*@what.* iswm -b $banmask) || (*!*@why.* iswm -b $banmask) || (*!*@who.* iswm -b $banmask) {
mode #thunder +bbb *!*@.what* *!*@.why* *!*@who.*
}
}
-----------------------
ULTIMATELY FLAWLESS!! =)