An up-and-coming writer pens a spec hoping to get an agent. He lands a network sale instead, with Will Gluck attached as an executive producer (and an agent).

CBS has put in development All In, a hybrid comedy project written by Ben McMillan, from Sony Pictures TV. It centers on a woman who, after a tough breakup and a couple of one-night stands, finds herself pregnant — and all three possible fathers are determined to help her raise the baby.

McMillan, co-creator of 2014 Canadian kids sitcom Max And Shred, which airs on Nickelodeon in the U.S., had been left with no agency representation. His manager, Industry Entertainment’s Helena Heyman, sent him out on a few general meetings. One of them was at Tariq Jalil’s Intrigue, where McMillan came up with the idea for All In in the room. McMillan wrote the project on spec, the first TV spec developed internally by Intrigue. It was sent out to studios, and Sony TV bought it, with Gluck’s studio-based Olive Bridge Entertainment coming on board to produce alongside Intrigue. All In also was used as an original piece for McMillan to attract an agent, with Gersh signing him off of it.

McMillan is executive producing All In with Intrigue’s Jalil and Lucas Carter and Olive Bridge’s Gluck and Richard Schwartz. What’s more, McMillan scored a second comedy sale this season, a pitch at NBC with Working Title producing.

This marks the third broadcast sale this season for Intrigue. The company has another project with Sony TV, drama Game Of Silence, based on a Turkish format, which has a pilot production commitment at NBC with Carol Mendelsohn executive producing. Additionally, Intrigue has First Lady, based on a Chilean format, at the CW with Jennifer Garner executive producing.