Created
September 29, 2016 22:26
-
-
Save Kirtaner/c294fd03beec6b0d0a3c47b2707a2c6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function (context, args) { // ch:"", msg:"" | |
// we want to color our text, using soron.color_utils. Run that script on command line to set up your chat color | |
var a = 9617; | |
var b = 9604; | |
var c = 9600; | |
var d = 9608; | |
var e = 10; | |
var f = 9618; | |
var msg = '\n\n' | |
+' ▄▀▄▀▀▀▀▄▀▄ \n' | |
+' █ ▀▄ ▄ \n' | |
+' █ ▀ ▀ ▀▄▄ █ █ \n' | |
+' █ ▄ █▀ ▄ ▀▀ █ \n' | |
+' █ ▀▀▀▀ █ \n' | |
+' █ █ \n' | |
+' █ █ \n' | |
+' █ ▄▄ ▄▄▄▄ ▄▄ █ \n' | |
+' █ ▄▀█ ▄▀ █ ▄▀█ ▄▀ \n' | |
+' ▀ ▀ ▀ ▀ \n\n' | |
+' ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n' | |
+' ┃ ┃\n' | |
+' ┃ * You deployed the dog. ┃\n' | |
+' ┃ ┃\n' | |
+' ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\n'; | |
// msg = msg.replace(/X/g, String.fromCharCode(f)); | |
// + String.fromCharCode(a, b, c, b, c, c, c, c, b, c, b, a, a, a, a, a, a, a, a, a, e, a, d, a, a, a, a, a, a, a, a, c, b, a, a, a, a, a, a, b, a, e, d, a, a, c, a, a, c, a, a, a, a, a, c, b, b, a, a, d, a, d, e, d, a, b, a, d, c, a, b, a, a, a, a, a, a, a, c, c, a, a, d, e, d, a, a, c, c, c, c, a, a, a, a, a, a, a, a, a, a, a, a, d, e, d, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, d, e, d, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, d, e, a, d, a, a, b, b, a, a, b, b, b, b, a, a, b, b, a, a, d, a, e, a, d, a, b, c, d, a, b, c, a, a, d, a, b, c, d, a, b, c, a, e, a, a, c, a, a, a, c, a, a, a, a, a, c, a, a, a, c, a, a, a); | |
var text = #s.soron.color_utils({colorize: msg}); | |
// if (!args.ch) { | |
// args.ch = '0000'; | |
// } | |
// Now we send a chats.send, using our slightly-modified arguments | |
var result = #s.chats.send({ channel:'0000', msg:text }); | |
// var result = #s.chats.tell({ to:'kirtaner', msg:text }); | |
// and, we return the result. It will probably be an object that looks like { ok: true } | |
return result; | |
} | |
// ░ | |
// | |
// | |
// | |
// | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment