Scripting Tips
About the Script Database
The script database can be accessed using self[] and modified using self[]= but be aware that this is backed by a YAML::DBM instance so you must call self[]= directly if you want new values stored in the database.
For example: hash = self['key']; hash['key'] = value; won't actually store the modified value in the script database. I don't know why I thought it would, guess I'm just too used to ActiveRecord style magic these days. (Yes, yes, I know that even here I must call #save)
Also because it's a YAML::DBMyou can't use symbols as keys or you will get a conversion error.