Thx for that; I tried a few eval combinations, but obviously missed something.
(Don't think I've ever had to use evals in the past)
Working on it now, as my actual code is more complex than my example OP. As I said, I was hoping to use a simple single die trap rather than lots eval{}s, but so long as it works I guess.
Cheers
Chris