EXCLUSIVE

"Real World: Skeletons" star Tony Raines narrowly avoided a DUI, but still got busted for boozing in public after a crazy night in Charleston, South Carolina.

Witnesses told cops Raines was driving his truck in a motel parking lot Wednesday night when he almost struck a pedestrian -- and then backed the truck into a parked moped. Someone called the cops and an officer spoke with Tony, but he was not arrested since the moped owner wasn't there at the time to file a complaint.

Tony wasn't done -- an hour later he was in a Burger King parking lot and almost hit another vehicle. This time police responded and found him sitting in his truck with an open can of Budweiser.

He was booked for drinking in public, and had his car towed. Since the car was parked, he dodged a DUI.