Line to tint.
Foreground IRCColour integer.
Optional background IRCColour integer.
The passed line, encased within IRC colour tags.
alias I = IRCControlCharacter; immutable redwhite = "kameloso".ircColour(IRCColour.red, IRCColour.white); assert((redwhite == I.colour ~ "04,00kameloso" ~ I.colour), redwhite); immutable green = "harbl".ircColour(IRCColour.green); assert((green == I.colour ~ "03harbl" ~ I.colour), green);
Colour-codes the passed string with mIRC colouring, foreground and background. Direct overload that leverages the output range version to colour an internal Appender, and returns the resulting string.