Haven't used scripts myself, but just did a quick search. Does it go by the name of PascalScript now? At the bottom of the wiki page
http://wiki.freepascal.org/Pascal_Script
is example on how to use it in console mode
http://wiki.freepascal.org/Pascal_Script_Examples
Though i wouldn't say it's a well thought out example, because it's including Forms unit in uses. As far as i remember, Application variable isn't needed in console apps either.