mIRC Home    About    Download    Register    News    Help

Print Thread
Chan access list! #212224 15/05/09 12:59 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Hello again,

Is there any remote that with one tigger (!acc-list #chan) to see the #chan access list member's ?

thanks.

Re: Chan access list! [Re: westor] #212225 15/05/09 03:43 PM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Assuming the service is called ChanServ and it notices you with a common reply:
Code:
on @*:TEXT:!acc-list *:#:{
  if ($2 ischan) {
    set %acclist.on on
    set %acclist.chan $chan
    .msg ChanServ access $2 list
  }
}
on *:NOTICE:*:?:{
  if ($nick == ChanServ) && (%acclist.on) {
    msg %acclist.chan $1-
    if ($1-4 == End of access list.) { unset %acclist.* }
  }
}

Re: Chan access list! [Re: 5618] #212275 17/05/09 11:51 AM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
i got it , thanks!