Changes for page Lua Script

Last modified by Joe on 2026/05/18 09:33

From version 12.1
edited by Devin Chen
on 2025/11/10 16:04
Change comment: There is no comment for this version
To version 13.1
edited by Joe
on 2026/05/18 09:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.DevinChen
1 +XWiki.joe
Content
... ... @@ -1563,7 +1563,7 @@
1563 1563  timer.create(0, 2, 1000, callback)
1564 1564  
1565 1565  -- Create a timer for global execution, which should follow the unique ID
1566 -timer.create(-- 1, 1, 1000, function() print("This is global timer test.") end)
1566 +timer.create(-1, 1, 1000, function() print("This is global timer test.") end)
1567 1567  {{/code}}
1568 1568  
1569 1569  == [[timer.set_status>>||anchor="HTimer"]] ==