@morpheus93 said in Can I call another BAS script from within my current script?:
as I mentioned above, is it possible that I call another BAS script and after the processing of this "external" BAS script is done the current script continues at the next step (action)? Also can I exchange variable values between my "calling" and my "external" script?
Not. But you can use the code of the second script as a function in the first script.
@allister Ok, finally I got your point. You define function as actions in Main function. _call(_on_start, null)! is placed only after functions defined through main interface.
So in order to make it work, you need to create BucketOne and BucketTwo function through main interface and place code inside it with "Execute code" action, like this https://drive.google.com/uc?id=1pIAaHwmEDpz5D3Iiw8MWyRvmPGlYm5-R&export=download