mIRC Home    About    Download    Register    News    Help

Print Thread
#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.* )


Joined: Nov 2005
Posts: 105
D
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.

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!! =)


Link Copied to Clipboard