Ooh, wow, thankyou very much. That’s a start, I didn’t expect anyone else to help with it!

As you see, just doing the Add function should plonk it into the SavedVariables, that persists.
What I was
going to do and will eventually end up doing was to place it in the interface options addons panel (alongside the others) and give it a GUI there.
I’m a bit pants at frame design though.

GUI I was planning was more like this:—
[ Default] [Addons]________________________________________________
[ (Other addons…)][
MyEmotes 3.3.5a [Reset] [Help] ]
[ MyEmotes ][--------------------------------------------------------------------------]
[ ][ /cheer | cheers! · cheers at %t! ][__]
[
this is the ][ /embarrassed| looks embarrassed. · looks embarras…]| |
[
normal addons ][ etc etc ]| |
[
panel in ][ ]| |
[
Interface Options ][ ]| |
[ ][ ]| |
[ ][ ]| |
[ ][ ]| |
[ ][ ]| |
[ ][___________________________________________]|__|
[ ][ ]
[ ][ Commands: [ cheer cheers ] [ New ] ]
[ ][ No target: [ cheers! ] [ Save ] ]
[ ][ Targeted: [ cheers at %t! ] [ Delete ] ]
[______________][______________________________________________]
/cheers is highlighted in that one because you’ve left-clicked it. Save saves it to the top panel (and adds it to the live list, and will be saved in SavedVariables).
New clears it and lets you input a new one.
Delete, well, obvious.
All edits are reflected in the list above when saved. All of those boxes are one-line EditBoxes with a max length of ~300).
Make sure Reset has a (Are you really sure you wish to reset all of your custom emotes to the default?) setting.
Left-clicking highlights and selects which one appears in the panel below (discard existing unsaved content down there). When you’re editing a New one that hasn’t been saved yet, nothing’s highlighted.
Help shows some assistance on the commands, for the ones that aren’t intuitive.
…what do you think?