First thing you need to know is that you can paste any code to BS2 simply by pressing the CTRL+V keys.
This is a very quick way of trying a mod, or testing when making mod. You simply select any code you want to use, then copy it to the clipboard with CTRL+C. Then open BS2, start a sandbox, then and paste your code. That's all.
Please note that some mods don't make the element refresh, so if you want the new elements to appear, just click any part of the group or element menu, and any group that wasn't shown will appear.
Another way of copying a code is via the gear icon.
Please check the method i use for my cannonball mod, and just change the name to add any other mod.
canon ball!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1