StDoodle
Minion
That's what I was thinking. Or rather, one of two things.
1) A pre-defined settings map as string [string] that has each key (preference) set to the value upon execution of the pseudo-abort.
2) An optional function or list of functions to invoke via call.
I would simply overload your functions, but since there is already a variable number of string parameters that could be used (to specify color), this could get tricky. Though I guess I could just use maps for both preferences & functions to avoid this.... but I hate shoe-horning stuff onto someone else's script, in case they decide to make changes that bork things further down the road.
1) A pre-defined settings map as string [string] that has each key (preference) set to the value upon execution of the pseudo-abort.
2) An optional function or list of functions to invoke via call.
I would simply overload your functions, but since there is already a variable number of string parameters that could be used (to specify color), this could get tricky. Though I guess I could just use maps for both preferences & functions to avoid this.... but I hate shoe-horning stuff onto someone else's script, in case they decide to make changes that bork things further down the road.
Last edited: