presets
The presets library lets you add and modify the pre-set options for scripted tools (selected via the white bar at the top of each tools control panel).
Methods
presets.BadNameAlert()
This is used internally - although you're able to use it you probably shouldn't.
Used internally to tell the player that the name they tried to use in their preset is not acceptable.
boolean presets.Exists( string type, string name )
Returns whether a preset with given name exists or not
table presets.GetTable( string groupname )
Returns a table with preset names and values from a single preset group.
presets.OverwritePresetPrompt( function callback )
This is used internally - although you're able to use it you probably shouldn't.
Used internally to ask the player if they want to override an already existing preset.