This feels like it would be a useful feature for prototyping/debugging:
I imagine something like this: BTT stores the return value from the last script execution in a BTT var.
(Something like $? in zsh)
Then in order to debug a script issue, you just add a HUD action that shows that variable.
Bonus utility:
You could use the value for conditional execution of following actions, and
You could use the value in a following script, allowing a form of script chaining.
All of this is possible now by storing the value in a BTT variable, but this would make it much easier.