As events appear in multitask environment it's more than welcomed that the new value of the variable (which actually triggered the event) can be accessed as a local variable
%evtprm2 instead of reading the original global variable (which could have been changed again since triggering the event).
But it would be also welcomed to have a local variable for the previous value of the variable in question: there might be situations where its's important the value the variable has been triggered from. E.g., not the same thing whether a track stopped event triggers when a track is still playing or when it's already paused.
May I suggest this change for upcoming Tasker versions?
Of course, the current workaround is not that difficult, as previous values always can be saved safely as a global variable, but this global variable should be initialized etc., so it's still a bit uncomfortable.
Say, %evtprm4: previous value of the variable which triggered the event.