Originally Posted by pipobona
it tells you an error if you havent defined the hooks in your scripts. But this error is just handled and the game will shutdown without crashing.
I think the best thing would be to just not call it at all if it doesn't exist and assume that its not there. If it is and not correct maybe, but I wouldn't shutdown.
This is what I do with GameMonkey:
(It's cgame but still my example for doing hooks/callbacks (the command/icc one is a little more complex tho)