SpringRTS has this. You can write and use lua plugins. To assist you with various small tasks, and add more info to the HUD.
Intro: http://springrts.com/wiki/Lua_Widgets Forum: http://springrts.com/phpbb/viewforum.php?f=23&sid=83343bd3a4... List of plugins: http://widgets.springrts.de/