shabble/irssi — Issue #18: add new variable type `$?`
Author: shabble
Created: 2012-01-11 08:36:57+00:00
State: open
Labels: Misc

Add a new type of variable expansion, of the form `$?name`.

It should work similarly to `$@` or `$#`, but should expand to:

nothing (empty string) if $name contains only whitespace,
the value of $name, if $name actually has content.

Can be used to replace $cumode/cumode_space, and
allow optional `msgnick = "$0 $1-" user mode in messages.