lua1.xml 876 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <KLISH
  3. xmlns="http://clish.sourceforge.net/XMLSchema"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:schemaLocation="http://clish.sourceforge.net/XMLSchema http://clish.sourceforge.net/XMLSchema/clish.xsd">
  6. <PLUGIN name="klish"/>
  7. <ENTRY name="COMMAND" purpose="ptype">
  8. <ACTION sym="COMMAND"/>
  9. </ENTRY>
  10. <ENTRY name="INT" purpose="ptype">
  11. <ACTION sym="INT"/>
  12. </ENTRY>
  13. <ENTRY name="main" mode="switch" container="true">
  14. <ENTRY name="cmd" help="Clear settings" mode="sequence">
  15. <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
  16. <ENTRY name="int_val" help="Integer" mode="sequence">
  17. <ENTRY name="INT" purpose="ptype" ref="/INT"/>
  18. </ENTRY>
  19. <ACTION sym="lua">
  20. for i=1,10 do
  21. print(i)
  22. end
  23. </ACTION>
  24. </ENTRY>
  25. </ENTRY>
  26. <PLUGIN name="lua"/>
  27. </KLISH>