$target
Returns the target of an event.
in a text event (in channel) it would return the channel name. in private, it returns your own nick name.