I pushed the seat unlock button, but no go. I then felt my pocket and my fob was nowhere to be found. I called an Uber to get home so I could locate my fob. It wasn't in my garage so it fell out of my pocket somewhere

In a panic I set out to follow my route, which luckily I remembered it well. Incredible since I'm an old bastard. I drove through most of the route with a high heart rate. Low and behold I saw my keychain on the side of the road about a mile from the gas station where my scooter was stranded. I pulled over and put my 4 way flashers on. I picked it up and all the was on my keychain was the empty outer shell after being drove over by cars, nothing more. I kept looking while dodging cars and trucks. I found the circuit board which was slightly bent, then looked hard and found one button, then the other. While walking back I found the silicone piece that holds the board in place. The only thing missing is the aluminum end piece.
I then drove to the gas station where I left my Vespa. I reassembled the the remote in my car and tried it out. It worked!!
The only thing that doesn't work is the remote seat unlock.
My question is, how do I reprogram another remote without taking it to a dealer? I have no dealers close.
Sorry for the mini novel, but I feel very lucky.