We had a big debate awhile back..Goober wanted to expand the SEXP system instead, and taylor was concerned about memory/CPU usage.
Right now, it's set up so that if you define USE_LUA, you can use "[]" to define a Lua code block for any scripting variables. The Lua code is separated from the rest of the code with a language-independent layer, so you can toggle on and off USE_PYTHON seperately. However, unless you're going to actually work on the PYthon code, I don't recommend compiling it in. Mostly I just copied my code from the initial scripting implementation, I've never tested it since implementing the layer.
I've uploaded my codebase to CVS. This should fix the compile problems, and give you a few
goodies to play with.

Adding a hook is very easy. Here are some examples:
$Splash: [
--Display the SCP logo on the splash screen (You'll need the mediaVPs for
this)
gr.drawImage(0, 0, "2_PreLoadLogo")
]
$HUD: [
--Display a rather lackluster escort list
if mn.getNumEscortShips() > 0 then
gr.drawText(100, 0, "==ESCORT==")
end
for count=0,mn.getNumEscortShips()-1 do
ship = mn.getEscortShip(count)
gr.drawText(100, (count+1)*10, ship:getName())
gr.drawText(250, (count+1)*10, ship:getHitpointsLeft()/ship:getHitpoints())
end
]
$Global: [
--Tells you which mouse buttons are down
if ms.isButtonDown("Left") then
gr.drawText(10, 10, "Left down!!")
ms.setMouseHidden(true)
end
if ms.isButtonDown("Middle") then
gr.drawText(10, 20, "Middle down!!")
ms.setCursorImage("attacker")
end
if ms.isButtonDown("Right") then
gr.drawText(10, 30, "Right down!!")
ms.setMouseHidden(false)
end
]