master
1function(context, args) { // chan:"channel"
2 //coloring cheat sheet
3 let out = "\nChat coloring cheat sheet:\n\n",
4 words = ["hello", "world"];
5 for(let [i,c] of "aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ".split('').entries()) {
6 out += `\`\`${c+c+words[i%2]}\`\`${i%2?"\n":" "}`;
7 }
8 out += "\n";
9
10 if(args && args.target)
11 #s.chats.send({channel:args.chan, msg:out});
12 else
13 return out;
14}