How to use HTML / Javascript to run lua command or functions, like Toybox does?

Hello everyone.

From the day Toybox was launched I have been wondering about how it worked and I am really interested in learning how to use HTML/Javascript to run lua command.
I have been testing and searching for over two weeks now, but without luck. So now I ask you guys if you could help me solve this problem.

I hope you guys can help me.

  • Dr. Chapman

**[Http.Get

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Http.Get)**
**[G.RunString

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=G.RunString)**