#alias tar {#var tar};
#alias kt {dirt @tar};
Then right click your status bar in zmud and add Target == @tar and it will show what the variable is set to.
ps.
I usally have a variable for the attack as well.
#alias a {#var attack]
#alias kt {@attack @tar}