That might not look very pretty with the crazy SE5 scripts. Look at the Events source, for example: 43 functions! Combine it with Aaron's tendency towards overkill with function names: Execute_Event_Planet_Population_Happiness_Change
If you happen to need a list of the scripting language's built in functions, you could probably save some time with this
syntax file I made up a bit ago. It has all of the functions from the scripting pdf file in it, as of June.