# Something like that: function example(callback: function): callback() function hello_world(): print "Hello world" on load: example(hello_world()) sorry if they are some syntaxes error, i haven't made any script from a while