Not sure if you're looking to learn how to script, or just get an add-on or two put together. But if you are serious about learning TorqueScript, and have no prior programming experience, I would recommend starting with
this list. Start up a game, open your console (use the '~' key), and type some of the commands on that page into it. Play around with them and just get familiar with how basic command work.
Once you're comfortable with the console, I would recommend checking out
Weebly's TorqueScript For Blockland, a website which teaches basic add-on making. Also, if you videos help you learn, I would recommend
Bloxland's Blockland Scripting tutorials on YouTube. Neither of these resources are going to teach you everything you need to know. But they'll give you a good idea of where to start.
I would also recommend reading the official
TorqueScript Scripting Reference. It gets pretty technical, and isn't exactly an easy read for a beginner. But it talks about concepts like packages, datablocks, etc., which are very important in TorqueScript. I would recommend reading it after going through one (or both) of the tutorial series I posted above.
Do understand (assuming you've never programmed before) that learning to script isn't going to be easy. But it's definitely worth it. Take your time and be patient. Learning to program, like any skill, takes time to develop and master. And don't get frustrated if it takes you awhile to understand something. School doesn't really prepare you for this kind of stuff, unfortunately.
As for making the melee weapon you want to make, you'll need to
- Figure out how to teleport a player to a brick. adel's code looks good. After you've played with the console a little, see if you can get his code to work. You'll probably need to use a different BrickGroup if the bricks you are using for testing aren't public
- Figure out how to create an item that teleports a player when it hits them.
- Figure out how to make sure a player can only teleport people on the other team. It sounds like you are using Slayer to create teams, so you'll have to integrate you're weapon with that. It'll be pretty simple. I can help you with it when you get to this point.
I recommend you work on your programming skills a bit first, though. There's not too much we can help you with until you have some basic knowledge of how TorqueScript works.