mIRC Homepage

BAN sticky/permanent

Posted By: sner

BAN sticky/permanent - 11/02/07 10:13 PM

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.* )

Posted By: drc4

Re: BAN sticky/permanent - 11/02/07 10:42 PM

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.
Posted By: sner

Re: BAN sticky/permanent - 12/02/07 06:53 PM

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!! =)
© 2020 mIRC Discussion Forums