"Operation: T.R.I.C.K.Y." is a Halloween-themed episode of the animated TV series Codename: Kids Next Door. It first aired on the Cartoon Network in the United States on October 29, 2004, along with "Operation: U.N.C.O.O.L".
Plot[]
Numbuh 4 makes a bet with his friends that he can get more candy than they can by the end of the night. As he goes trick-or-treating, he gets only a single piece of butterscotch before his bag is stolen by Stickybeard and his Candy Pirates. Numbuh 4 is able to sneak aboard the Sweet Revenge, disguised as a sack of candy, and get his butterscotch back from the piles of candy aboard the ship. As he jumps off the ship, he realizes he could have taken the pirates' horde of candy and win the bet. This time, pretending he has got a large sack of candy (which is really a sack of bricks), he tricks the pirates off of their ship, then gets onboard and sails away. He is ambushed by the pirates, Chewy and Gooey, doing battle with them before the ship rams right into the treehouse. The piles of candy are dumped out before Sector V as Numbuh 4 asks who is going to help him sort his candy.