If you touch a Brick you'll die? Just an example.
You can't really do stuff with bricks with the Programming Language.
TorqueScript, can be implemented in Add-Ons, so the Add-Ons do what the code tells them.
If you're looking to make bricks do things, you can use the wrench tool to click the brick, touch the button at the bottom of the pop-up, labelled Events and there are lists of things you can do to bricks, including Triggers for when they go off, Outputs for what they do and even controlling other bricks through a different one. They can also be used to edit characteristics of the players, like, making the player bigger or smaller.