Can see my work how I implement syntax just console and gw was missing.
https://github.com/zs-3/SBJS
https://www.zs.rf.gd/SBJS/
https://litdev.uk/mybb/showthread.php?tid=155
You can try this code here
https://www.zs.rf.gd/SBJS/
Also while and if are supported you can try and can use js objects also like Console and Math if you know js well
https://github.com/zs-3/SBJS
https://www.zs.rf.gd/SBJS/
https://litdev.uk/mybb/showthread.php?tid=155
Code:
loop()
Sub loop
For I = 1 To 10
TextWindow.WriteLine(I)
EndFor
EndSub
https://www.zs.rf.gd/SBJS/
Also while and if are supported you can try and can use js objects also like Console and Math if you know js well

ZS