Variables in Source Scripts

Is there a way to set a variable in a source script so that when an include file is called the variable can either be evaluated (ie T/F) or written to a tag (ie itunes country searched = and language=)?

some psudeo code:

%country%="us"
%language%="gb_en"

...

call include file

output to "COUNTRY"
If %country tag% does not exist
say %country%
End If

output to "SUPPORTED LANGS"
append %language% to "SUPPORTED LANGS"
Thanks