• Is it this bit that's not working?

    <button onclick="Puck.write('\x10setTime(1234578­9);\\n')">Set The Time with x10</button>
    

    I think it's to do with escaping in HTML, because you're in a string inside a string - note you have to do \\n for newline, not \n - maybe just doing \\x10 would fix it?

    ... and your puckCommand example wouldn't work, but for the other reason! Try changing \\n to \n in that one!

About

Avatar for Gordon @Gordon started