Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
A common convention in Lua is to begin "private" function names with underscores, like "_myFunction", to imitate class encapsulation without actually enforcing it (since actually enforcing it takes some work and has a performance cost). To help with this, any function containing an underscore is not shown in the dropdown menu for connector actions. I suggest using camelCase for your function and variable names and reserving underscores for the aforementioned purpose.