Function inside script -

Hi @Ryan @JellyBitz is possible to call python function inside script?

something like this:

image

Yes you can

https://projecthax.gitbook.io/phbot-plugins/handling-script-commands

When i call a function by script get this error:

image

but if i use a button work perfect:
image

function no get arguments:
image

i call like this from script:

any idea?

done i added paraments and return to function. now is working from script.!

image

ya you need that return for script functions :slight_smile: