Print all given unit flags for SMART_ACTION_SET_UNIT_FLAG and SMART_ACTION_REMOVE_UNIT_FLAG
Add proper commenting output for SMART_ACTION_AUTO_ATTACK
Implement commenting for SMART_ACTION_COMBAT_MOVEMENT (same as SMART_ACTION_AUTO_ATTACK)
Add proper commenting for SMART_ACTION_INC_EVENT_PHASE
Don't update the script if the comment is already correct (thus the same as the new outcome)
Add "WHERE entryorguid AND id" check to the UPDATE query we generate
Get rid of the while (true) loop and instead add a ReadKey when the process is finished. Pressing enter opens the output file.