mIRC Home    About    Download    Register    News    Help

Print Thread
updating #190053 15/11/07 01:20 PM
Joined: Oct 2007
Posts: 92
N
nomer2007 Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
How could you update the Invite && Exception list of the channel?

Re: updating [Re: nomer2007] #190058 15/11/07 02:29 PM
Joined: Dec 2002
Posts: 2,021
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,021

Please elaborate.

Re: updating [Re: RoCk] #190059 15/11/07 03:05 PM
Joined: Oct 2007
Posts: 92
N
nomer2007 Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
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?

Re: updating [Re: nomer2007] #190169 17/11/07 02:25 AM
Joined: Oct 2007
Posts: 92
N
nomer2007 Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
hope you can help me on this

Re: updating [Re: nomer2007] #190170 17/11/07 02:34 AM
Joined: Dec 2002
Posts: 2,021
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,021

If I knew what the hell you were talking about, I might. confused

Re: updating [Re: RoCk] #190172 17/11/07 02:55 AM
Joined: Oct 2007
Posts: 92
N
nomer2007 Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
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

Re: updating [Re: nomer2007] #190173 17/11/07 04:08 AM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
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


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: updating [Re: Lpfix5] #190175 17/11/07 06:38 AM
Joined: Oct 2007
Posts: 92
N
nomer2007 Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
Thanks for the reply..
It does not work though...

Re: updating [Re: nomer2007] #190176 17/11/07 07:35 AM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
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).

Last edited by Horstl; 17/11/07 07:44 AM.
Re: updating [Re: Horstl] #190180 17/11/07 10:54 AM
Joined: Oct 2007
Posts: 92
N
nomer2007 Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
How can it be collected?

Re: updating [Re: nomer2007] #190181 17/11/07 11:17 AM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
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..

Re: updating [Re: Horstl] #190227 18/11/07 04:13 AM
Joined: Oct 2007
Posts: 92
N
nomer2007 Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
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

Re: updating [Re: nomer2007] #190239 18/11/07 05:39 AM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
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
}


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: updating [Re: Lpfix5] #190244 18/11/07 06:44 AM
Joined: Oct 2007
Posts: 92
N
nomer2007 Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
The first that you have stated didn't worked but thanks to it i managed to do what i want it to do thanks