You could create an alias to style text a particular way for added use in other areas of your script. Could you clarify what you mean by "random", how exactly you want it to look, and do you actually want to complete a nickname or style a nickname if it exists as the first word of an input message (or both)?