List Type Toggle

One question about the chainTransactions method of chaining commands proposed earlier in this thread – Is this a proper way of chaining multiple commands? I’m running into issues doing something similar, in that it’s leaving multiple (un/re)doable steps in my history that I’d like to be rolled into one.