I'm trying to explore scripted Python plugins, but I'm having trouble finding any basic information on how scripts function within a plugin and interact with specified parameters.
For example, I've created a tool plugin and put in what I thought was the most basic script:
vs.Message('Test Tool')
When I click on the tool I get an error message: Identifier Not Declared.
What does this mean? I tried declaring a function and then running the function, but I get the same error, always on the first line; even /import vs/ will give me this error. Just looking for a place to begin experimenting.