I'm pretty sure what I'm trying to figure out has something to do with error handling, but as simple as everything makes it sound I still can't figure it out. I want to be able to right click and exit my command, just like in many regular Autocad commands. I'm using this to increase a chosen number by 1 and maybe add a letter to it too. For example, say I have a list of numbers, 1-10. I start the command, enter the number I want to start with (5), choose a letter to go with it, (B), then select the first number (1) it changes to B5, the next item I select will change to B6 and so on... What I would like to be able to do is right click before entering the starting number (or really any time) and cancel the command. I'd also like to be able to use "undo" within the command to go back steps without having to undo everything in case I change my mind. Here's my file...