mIRC Home    About    Download    Register    News    Help

Print Thread
#64784 22/12/03 12:00 PM
Joined: Sep 2003
Posts: 156
B
bleach Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Sep 2003
Posts: 156
$ifban(): returns $true if banmask exist in ban list of the channel but doesn't work if I didn't retrieve ban list of the channel. now I wanna know that how do I update ban list of a channel by not using channel properties dialog?
usage: $ifban(<channel>,<banmask>)
alias ifban {
var %i = 1
while $ibl($1,%i) {
if ($ifmatch == $2) return $true
inc %i
}
}

#64785 22/12/03 12:06 PM
Joined: Dec 2002
Posts: 124
B
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
//mode # +b

#64786 22/12/03 12:20 PM
Joined: Sep 2003
Posts: 156
B
bleach Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Sep 2003
Posts: 156
thanks

#64787 22/12/03 12:23 PM
Joined: Dec 2002
Posts: 124
B
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
No Problem =]

#64788 22/12/03 12:31 PM
Joined: Nov 2003
Posts: 227
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Nov 2003
Posts: 227
Wouldnt like it to go un-noticed, but Khaled beat you to it "Here's one he made earlier":

if (<ban mask> isban #channel) { commands }

#64789 22/12/03 12:34 PM
Joined: Sep 2003
Posts: 156
B
bleach Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Sep 2003
Posts: 156
wasn know thanks


Link Copied to Clipboard