This can be achieved through a quick text, but you must keep the window in which you first use that command open for it to work. For example, I have this as a command for myself (the quick text is aliased as "nickname"):
code:
/nick «BLÅЀ» - listening to: (!WAT)
#9#/nick «BLÅЀ» - listening to: (!WAT)
#9#/nickname
The #9# stands for 9 seconds, that can be any single digit number.