Logic Machine Forum
.lp enable/disable - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: .lp enable/disable (/showthread.php?tid=6035)



.lp enable/disable - Novodk - 23.06.2025

Is it possible to enable/disable a /user/*.lp file via a script?


RE: .lp enable/disable - admin - 25.06.2025

Create a virtual group address and check the value in .lp script:
Code:
<?
require('apps')
enabled = grp.getvalue('32/1/1')
if not enabled then
  return
end

write('lp enabled')