Working on a new scripting.tbl setup, so that I can keep scripting all in one spot. I call it 'conditional hooks'.
The idea behind it is that you may only want hooks to execute for certain ships, ship classes, types, or on certain missions, (or any combination of the aforementioned) but at the same time, keep all of the scripting in scripting.tbl.
Also, I modified the code to allow for modular scripting tables, since all conditional hooks are additive. See the below example, which demonstrates all the conditions and trigger actions that I've implemented so far.
Yes, this should allow for per-mission scripting with standalone missions (

)
test-sct.tbm#Conditional Hooks
--Generic mission hook (executes every frame)
$Mission: test
$Hook: []
--Hooks for ship 'Mohawk', in mission 'test', that is of ship class 'Fenris' and type 'Cruiser'
$Mission: test
$Ship: Mohawk
$Ship Class: Fenris
$Ship Type: Cruiser
$On Warpout: []
$On Warpin: []
$On Death: []
--Hook that executes all the time when in-mission
$State: GS_STATE_GAME_PLAY
$Hook: []
#End
http://fs2source.warpcore.org/temp/wmc/conditionalhooks.zip