You do not need multiple TEXT events, and on the unset %key. $+ $nick stuff, you can use: unset $+(%,key,.,$nick)
etc.