Modify

#618 closed enhancement (fixed)

Use of expressions in nick_source

Reported by: sjefen6 Owned by:
Priority: wishlist Milestone:
Component: BitlBee Version:
Keywords: uifix Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

It would be grate to be able to use expressions in nick_source. Example: nick_source "f-".full_name would give f-BobJohnson

What syntax to use might be something else than I suggested...

Attachments (0)

Change History (4)

comment:1 Changed at 2010-07-11T23:24:34Z by wilmer

changeset:wilmer-ui-fix,702

That one has some of what you need. Doesn't work with full names yet, though. My next step is killing nick_source since this thing is much more powerful (and complicated..). (And of course making nick_format work with full names at the same time.)

An example:

00:12:30 <@wilmer> acc 3 set nick_format [JAB]%-@handle
00:12:30 <@     root> nick_format = `[JAB]%-@handle'
00:12:32 <@wilmer> acc 3 on
...
00:12:34 -!- [JAB]habbie [habbie@gmail.com] has joined &bitlbee

[JAB] is copied literally, % means something special's coming. The -@ part means everything from the @ sign is chopped off.

comment:2 Changed at 2010-07-13T00:24:31Z by wilmer

Keywords: uifix added
Milestone: 1.4

Extended this a little bit more. It's pretty neat now, see the docs (changeset:wilmer-ui-fix,705).

comment:3 Changed at 2010-07-24T21:28:05Z by wilmer

Resolution: fixed
Status: newclosed

I just merged ui-fix into mainline.

comment:4 Changed at 2016-07-07T20:51:01Z by dx

Milestone: 1.4

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.