Something that may be more useful would be a prop for $nick (or a new identifier) that returns the [!@%+.]nick, if the option is turned on and target is a channel, with applicable color from the color list. This would replace "$+(,$nick(#,$nick).color,$nick(#,$nick).pnick,)" (as well as eliminating a $readini to check if the mode prefix option is on/off) for channel messages and "$+(,$cnick($nick).color,$nick,)" elsewhere, only if the options are set and only the highest applicable mode prefix should be included in the result.

e.g $nick.pcol returns @nick for channel targets, and nick elswhere.
echo -mbflirt <targ> $nick.pcol $1-

If the "<"brackets">" were to be able to be set by the user in a future version, then this should also include those- "(@nick)"