Script Editor Design

Miscellaneous Forums/Graphics Showcase/Script Editor Design

I havent gotten into scripting yet. This looks good but how would someone like me implement this into a project? Declare certain variable to be accessed by the scripting engine?