#alias t {#var target %1;#showme {Target set to: %1}}
#bind {F1}{k $target}
...
etc
This should work, but forgive me if it doesn't - I don't have access to a jmc client right now. The syntax could be a bit wrong, but I guess you can figure it out yourself.