Modify

#660 closed enhancement (fixed)

Implement the /list command

Reported by: timing Owned by:
Priority: normal Milestone:
Component: IRC Version: devel
Keywords: Cc:
IRC client+version: Client-independent Operating System: FreeBSD
OS version/distro:

Description

To list channels we can do: 'chan l'. This is not easy to parse with scripting. Therefore i'd like to have /list so I can support multiple control channels for bitlbee_join_notice.pl etc.

Attachments (0)

Change History (6)

comment:1 Changed at 2010-07-28T08:23:38Z by wilmer

Is it really that hard to parse?

Problem with /list is it won't tell you which channel's a control channel and you probably do want to know that.

comment:2 Changed at 2010-07-28T08:28:34Z by timing

Well, it is a bit harder to parse. I have to send (raw) 'chan l' to root or nickserv, then fetch all the replies till 'End of channel list'.

I've been doing that before, but it feels very hacky. Can't we use & as control channels and # as chat channels anytime?

comment:3 Changed at 2010-07-28T08:30:36Z by Wilmer van der Gaast <wilmer@…>

Nope, those are just defaults. One can manually change the type using chan set. Could make this impossible but I don't like that idea, especially if at some point a third channel type would appear. (Not sure if that'd ever happen!)

comment:4 Changed at 2010-07-28T08:39:08Z by anonymous

What about channel titles then?

'This is a BitlBee control channel (Work) for account jabber1' 'This is a BitlBee chatroom (testkamer@conference..net) for account jabber4'

And this is not even usefull for scripts, but also it you are browsing through your channels.

comment:5 Changed at 2010-07-28T18:33:31Z by timing

Last, but certainly not least idea. It's even the best! Give special channels special chanmodes!

( maybe change the title of this ticket? )

comment:6 Changed at 2010-08-04T20:06:57Z by wilmer

Resolution: fixed
Status: newclosed

changeset:devel,637 changeset:devel,638

There's your stuff. Now gimme the scripts. :-)

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.