This script can be run on this screen:
/game.php?screen=overview_villages&mode=commands
This is how the script looks like in action:
This script can be used during ops to more easily find how many attacks you have sent on a village, etc.
This script will not work if you have renamed commands...