It's like programming your universal remote to your TV.
Hell, if I gave it two buttons, you could set up some awesome chain of events. One button for activating something and one for switching what it activates.
Like
onButton1Press > Self > SetLight > [Player Light]
OnButton2Press > <Named Brick> TV > RegisterRemote
So then when you press button two, the TV gets registered.