// The templating function only supports variables. // Define a variable as so: {variable_name} define({ motd: '\n\n' + '▄████▄ ██▀███ ▓██ ██▓ ██▓███ ▄▄▄█████▓ ▄▄▄ ██▓ ██ ▄█▀ \n' + '▒██▀ ▀█ ▓██ ▒ ██▒▒██ ██▒▓██░ ██▒▓ ██▒ ▓▒▒████▄ ▓██▒ ██▄█▒ \n'+ '▒▓█ ▄ ▓██ ░▄█ ▒ ▒██ ██░▓██░ ██▓▒▒ ▓██░ ▒░▒██ ▀█▄ ▒██░ ▓███▄░ \n'+ '▒▓▓▄ ▄██▒▒██▀▀█▄ ░ ▐██▓░▒██▄█▓▒ ▒░ ▓██▓ ░ ░██▄▄▄▄██ ▒██░ ▓██ █▄ \n'+ '▒ ▓███▀ ░░██▓ ▒██▒ ░ ██▒▓░▒██▒ ░ ░ ▒██▒ ░ ▓█ ▓██▒░██████▒▒██▒ █▄ \n'+ '░ ░▒ ▒ ░░ ▒▓ ░▒▓░ ██▒▒▒ ▒▓▒░ ░ ░ ▒ ░░ ▒▒ ▓▒█░░ ▒░▓ ░▒ ▒▒ ▓▒ \n'+ ' ░ ▒ ░▒ ░ ▒░▓██ ░▒░ ░▒ ░ ░ ▒ ▒▒ ░░ ░ ▒ ░░ ░▒ ▒░ \n'+ '░ ░░ ░ ▒ ▒ ░░ ░░ ░ ░ ▒ ░ ░ ░ ░░ ░ \n'+ '░ ░ ░ ░ ░ ░ ░ ░ ░░ ░ \n'+ '░ ░ ░ \n'+ ' https://github.com/hexagon/cryptalk \n'+ ' \n'+ ' Tip of the day: /help \n'+ ' \n'+ '----------------------------------------------------------------------', help: ' \n' + 'Cryptalk, encrypted instant chat. \n' + ' \n' + '---------------------------------------------------------------------- \n' + ' \n' + 'Available commands: \n' + ' /generate Generate random room \n' + ' /join RoomId Join a room \n' + ' /count Count participants of room \n' + ' /nick NickName Sets an optional nick \n' + ' /mute Toggle notification sounds \n' + ' /key OurStrongPassphrase Sets encryption key \n' + ' /leave Leave the room \n' + ' /clear Clear on-screen buffer \n' + ' /help This \n' + ' \n' + ' \n' + 'You can select any of the five last commands/messages with up/down key.\n' + ' \n' + 'Due to security reasons, /key command is not saved, and command \n' + 'history is automatically cleared after one minute of inactivity. \n' + ' \n' + 'It is highly recommended to use incognito mode while chatting, \n' + 'to prevent browsers from keeping history or cache. \n' + ' \n' + '---------------------------------------------------------------------- \n' + ' ', default_nick: 'Anonymous', post: { motd: '