Hello! Does anybody know if there is a way to make a custom HUD in Maya with multiple lines like the standard “poly count” one?

Hello! Does anybody know if there is a way to make a custom HUD in Maya with multiple lines like the standard “poly count” one?

Yes, you have cmds.headsUpDisplay