blob: ec8ca3b1ab271b49c68e03f6b4b26f2211c78db8 (
plain)
1
2
3
4
5
6
7
|
const ywot = require('../socket'); // Import direct library
main = new ywot.Socket(''); // Open socket
main.on('open',()=>{ // When socket opens
main.write([[[1,1],[0,0],'!']]); // Tell the server to put an exclamation mark at the topleft of the tile bottomright of the motd
});
|