As in, a fully native command? No.
You could use an inline function to subscribe to the event in the same way a plugin would, but if your plugin is the one changing the variables, you might as well have it run the commands, without needing an additional component.