Just as news breaks of Henry Cavill’s exit from the DC Comics Universe, Jon Hamm is ready to join the superhero squad.

In an interview with the series “In Depth”, Hamm says he’d definitely be interested in playing Batman, as long as the script is good.

“It depends on the script, what the story is,” Hamm tells the show’s host Graham Bensinger on Wednesday. “I am a huge comic book fan, always have been. I have read comic books since I was 9 or younger. And I am pretty knowledgeable about a lot of them. And I like the genre, and I like when they are done well.”

RELATED: Warner Bros. Responds To Report That Henry Cavill Is Out As Superman In Casting Shakeup

He might be interested in taking on the Caped Crusader, but Hamm reiterates that he’s not had any formal conversations about joining the Justice League just yet. An admitted fan of the FX series “Legion” and the box office smash “Black Panther”, Hamm says there’s one thing he wouldn’t look forward to if he ever did answer the call to play Batman.

“I’d have to work out a lot, which I don’t love,” the former “Mad Men” star admits. “But, I am sure there is an interesting version of that being out there. And if they wanted to tap me on the shoulder and ask me to do it: why not?”

RELATED: Ray Romano Fires Back At Jon Hamm’s Impression Of Him Golfing

Long before Ben Affleck was cast as Batman in the most recent iteration of Bruce Wayne, Hamm’s name has been tossed about by comic book fans eager to see him in the role.

“I have had rumours about that since probably season one of ‘Mad Men’. I have never had a conversation with anyone about it, literally. And I’ve sat in the room with all these guys. I have never been offered anything,” he says, adding, “I think the Internet wants what it wants. But, I mean, a lot of people have to sign off on that, obviously not just the Internet.”

Click to View Gallery
‘The Dark Knight’: A 10th Anniversary Look At All The Batmans That Came Before (And After)