Comedian and writer Anders Holm had some spot-on advice for graduates of the University of Wisconsin-Madison Saturday.

Holm graduated from UW-Madison in 2003 with a bachelor's in history, and was chosen by students there to be the commencement speaker this year. He's best known for his work as actor, producer and writer of the Comedy Central hit "Workaholics."

Holm, who was a member of the swim team in college, dropped by the Badgers swim team's workout earlier in the week. He also joked about spending time walking around Madison in his "state of the art disguise."

"To get what you want out of life, all you can really do is find out who you are, and do that," Holm said in his speech.

He told graduates it's fine if they don't know who they are yet, but they should start giving it some thought.

"Self-reflection makes you realize your shortcomings. For me, commencement speeches, obviously," Holm joked. "We're all thinking it, I'll say it."

Holm talked about how after he graduated from UW-Madison, he moved to Los Angeles and worked for years before breaking through with "Workaholics." He said before Comedy Central offered him a show, he spent two years bugging "Real Time With Bill Maher," which finally resulted in an entry-level job on the writing staff.

Toward the end of the speech, Holm ran through a few lines of advice for grads to remember. "Practice being curious, want to know things, ask questions," he said.

Another tip: "Consider what people think of you, but don't be afraid of what people think of you." Shortly after saying that, he called out a guy in the front row who was apparently straight faced and looked like he wasn't enjoying Holm's speech. Holm asked security to tase him, joking that he was allowed to have one person shocked.

Holm closed with a quote from Jamie Foxx that had nothing to do with the speech, followed by one of the most accurate lines a commencement speaker ever uttered: "No matter what you say, if you say it slowly, in a cool robe, it will sound more smarter."

Watch Anders Holm's entire speech in the video above.

Also on HuffPost:

Loading Slideshow...
  • Ed Helms at Knox College

    Actor Ed Helms will speak at Knox College <a href="" target="_blank">on June 8</a>.

  • Anders Holm at University of Wisconsin

    Actor, writer and producer Anders Holm (left) will speak at the University of Wisconsin <a href="" target="_blank">on May 18 and 19</a>.

  • Julie Andrews at University of Colorado

    Julie Andrews will speak at the University of Colorado <a href="" target="_blank">on May 10</a>.

  • Carson Kressley at Philadelphia University

    Carson Kressley, perhaps most known for his role in "Queer Eye for the Straight Guy," is speaking at Philadelphia University <a href="" target="_blank">on May 11</a>.

  • Annie Lennox at Berklee College of Music

    Singer Annie Lennox will speak at the Berklee College of Music <a href="" target="_blank">on May 11</a>.

  • Robert Redford at Westminster College

    Director and actor Robert Redford will speak at Westminster College <a href="" target="_blank">on June 1</a>.

  • Darius Rucker at University of South Carolina

    Singer Darius Rucker from Hootie & The Blowfish will speak at the University of South Carolina <a href="" target="_blank">on May 11</a>.

  • Stephen Colbert at University Of Virginia

    Stephen Colbert will be the keynote speaker at the University of Virginia's 2013 Valedictory Exercises <a href="" target="_blank">on May 18</a>.

  • Cal Ripken Jr. at University of Maryland

    Cal Ripken Jr., of major league baseball fame, will speak at the University of Maryland <a href="" target="_blank">on May 19</a>.

  • Bill Cosby at University of Baltimore

    Bill Cosby will speak at the University of Baltimore <a href=",0,7382820.story" target="_blank">on May 21</a>.

  • Deepak Chopra at Hartwick College

    Deepak Chopra will speak at Hartwick College <a href="" target="_blank">on May 25</a>.

  • Oprah Winfrey at Harvard University

    Oprah is speaking at Harvard University <a href="" target="_blank">on May 30</a>.