mIRC Home    About    Download    Register    News    Help

Print Thread
#271138 15/12/22 08:34 AM
Joined: Apr 2005
Posts: 111
X
Vogon poet
OP Offline
Vogon poet
X
Joined: Apr 2005
Posts: 111
alias xban {
var %i = 1
while (%i <= 10) {
echo -a Nro: $+ %i $+ $ibl($comchan($me,%i),%i) | inc %i
}
}

show the list and unban





any help?

Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
in normal words, what's the end goal of this? is this supposed to show the 1st 10 bans in a channel?
$comchan is intended to identify the channels you share with some other nick, so $comchan shared with $me is basically the same thing as $chan(%i).
What your code ends up doing is showing the 1st ban of your 1st channel, the 2nd ban of your 2nd channel, etc

Joined: Apr 2005
Posts: 111
X
Vogon poet
OP Offline
Vogon poet
X
Joined: Apr 2005
Posts: 111
the goal of this are unban all bans in same time

Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
What?
all bans in a specific channel? in all channels that you're in?
what does 'same time' mean? Are you wanting to have all the bans stacked together into 1 command? For that, it would require more information about your network, since as how many mode commands can be combined into 1 statement, which can be seen in the 005 reply to the
/version
command


Link Copied to Clipboard