mIRC Homepage
Posted By: nomer2007 updating - 15/11/07 01:20 PM
How could you update the Invite && Exception list of the channel?
Posted By: RoCk Re: updating - 15/11/07 02:29 PM

Please elaborate.
Posted By: nomer2007 Re: updating - 15/11/07 03:05 PM
Quote:
346 channel invite nick time
347 channel :End of Channel Invite List
348 channel exception nick time
349 channel :End of Channel Exception List


RAWS - does that raws need to be updated first or not?
Posted By: nomer2007 Re: updating - 17/11/07 02:25 AM
hope you can help me on this
Posted By: RoCk Re: updating - 17/11/07 02:34 AM

If I knew what the hell you were talking about, I might. confused
Posted By: nomer2007 Re: updating - 17/11/07 02:55 AM
346 channel invite nick time
347 channel :End of Channel Invite List
348 channel exception nick time
349 channel :End of Channel Exception List


These are raws for the invite list and exception lists on the channel
Is there a way to get them?

mode $chan +I $nick
mode $chan +e $nick
Posted By: Lpfix5 Re: updating - 17/11/07 04:08 AM
He's talking about the $ibl $iel and $iil

you can in theory loop through I guess

alias iblget {
var %x = 1
while (%x <= $ibl(#channel,0)) {
echo -a $ibl(#channel,%x)
inc %x
}
}


alias iilget {
var %x = 1
while (%x <= $iil(#channel,0)) {
echo -a $iil(#channel,%x)
inc %x
}
}

alias ielget {
var %x = 1
while (%x <= $iel(#channel,0)) {
echo -a $iel(#channel,%x)
inc %x
}
}

This will echo the 3
Posted By: nomer2007 Re: updating - 17/11/07 06:38 AM
Thanks for the reply..
It does not work though...
Posted By: Horstl Re: updating - 17/11/07 07:35 AM
Originally Posted By: nomer2007
How could you update the Invite && Exception list of the channel?

You'll update mIRCs internal lists (e.g. to handle with scripts bans / excepts etc that had been set before you joined the channel) with these commands:

ban list (ibl): /mode #channel +b
ban exceptions list (iel): /mode #channel +e
invite list (iil): /mode #channel +I

Originally Posted By: nomer2007
RAWS - does that raws need to be updated first or not?
The raws mentioned are just the server's replies to these commands. mIRC is updating it's internal lists when receiving the raw replies.
You could halt the display of the raw replies with a script (using the "haltdef" command).
Posted By: nomer2007 Re: updating - 17/11/07 10:54 AM
How can it be collected?
Posted By: Horstl Re: updating - 17/11/07 11:17 AM
What in detail do you mean with "collected"? You can refer to the current lists that mIRC keeps for some channel with the corresponding identifiers:
/help $ibl
...and apply other commands to the results, e.g. display, evaluate, or save to file..
Posted By: nomer2007 Re: updating - 18/11/07 04:13 AM
ok i checked it and try this
Code:
//echo -a $iel($chan,0)


But it returns the total numbers of the exception addresses on the channel.

and if it's 1-4 or some number it returns the Nth position.

how can i collect it using var and return it like

Quote:
echo -a address1 address2 address3
Posted By: Lpfix5 Re: updating - 18/11/07 05:39 AM
I already stated it nomer

heres one example

put this in remotes then type echo -a $ielget

Make sure you change #channel to your channel or replace #channel with $1 and use //echo -a $ielget(#channel)

alias ielget {
var %x = 1
while (%x <= $iel(#channel,0)) {
var %y = $instok(%y,$iel(#,%x),%x,32)
inc %x
}
.timer 1 2 echo -a %y
}
Posted By: nomer2007 Re: updating - 18/11/07 06:44 AM
The first that you have stated didn't worked but thanks to it i managed to do what i want it to do thanks
© mIRC Discussion Forums