* Jack on "Will & Grace" was named Jack McFarland, not "Guapo".
* "Guapo" was the name of a character on the show "Ugly Betty", not "Will & Grace".
* The Andy Griffith Show had a character named "Opie", not "Dinkie".
* "Dinkie" was a nickname used in the movie "Dirty Rotten Scoundrels", not on "The Andy Griffith Show".
It seems like you're trying to remember a character name from a specific show, but getting a few details mixed up. Do you want to try and describe the character a little more? Maybe I can help you figure out who you're thinking of!