adding some stuff possible to use for irssi