sintonia/pypo/scripts/include_dynamic_vars.liq

11 lines
323 B
Plaintext

#######################################################################
# Dynamic variables
#######################################################################
pypo_data = ref '0'
def set_pypo_data(s)
pypo_data := s
end
server.register(namespace="vars", "pypo_data", fun (s) -> begin set_pypo_data(s) "Done!" end)