Helped a little, but not really what I was looking for. I want to know how to make that into an EVENT not a command.
function fxDTSBrick::changeMusicDlg(%this, %client){ %client.wrenchBrick = %this; commandToClient(%client, 'OpenWrenchSoundDlg', "Set Music");}registerOutputEvent("fxDTSBrick","changeMusicDlg","",1);