I'd agree with that, however, I don't think that is what was happening here either. What I think I finally figured out after reading this again --FourthWorld wrote: ↑Tue Oct 15, 2019 10:12 pmSimply opening any stack will not cause it be to used as a library.
-- is that once you make the script stack a sub stack of the main stack, it is not triggering because of the behavior (the desired outcome), but because when the main stack opens, it also opens this as a sub stack, and the substack on opening triggers the openStack handler.kaveh1000 wrote: ↑Tue Oct 15, 2019 12:52 pmAttaching minimal example stacks. I have set Main stack to have behaviour of script_stack.livecodescript. In the stack script of the latter I have:When opening Main Stack why does it not answer "hi"?Code: Select all
on openstack answer "hi" end openstack
Of course, I had to re-read that one a few times, so I am guessing I am just not up to the challenge today haha.