OGRE doesn't have it's own coding language for scripts, it uses pseudo-C++. But WolfWorms was right to provide you with the above link, since it contains examples of functions and the structure used in material script files.
Edit: Just semantics, I know. /shot