The act of tomfooling is to find a mate named tom and begin tomfooling his dick in a duel.
"Tom and I had too much to drink and we got into a little bit of tomfoolery last night"Moral: Don't be a tomfool like these guys, TomFooling.