Is there a plugin that lets you make NPCs which could perform commands on right click? For example set some dummy stats or run /trigger on the clicking player, after which command blocks could carry on with dialog.