happybot/ok
zgrep 1d7dbc4dbe Modify all the things! 2018-08-14 19:24:26 -04:00
..
appendoK.js More things. I can't think of a good commit message this time. Sorry. 2018-08-14 03:14:02 -04:00
ircconvert.js Modify all the things! 2018-08-14 19:24:26 -04:00
ircrepl.js Modify all the things! 2018-08-14 19:24:26 -04:00
ok-license.txt And thus a happy bot was borne. 2018-08-14 17:42:36 -04:00
readme.md Modify all the things! 2018-08-14 19:24:26 -04:00

readme.md

$ git clone https://github.com/johnearnest/ok.git
$ cd ok
$ cp $HAPPYBOT/ok/* ./
$ cat oK.js appendoK.js > ircoK.js

Now use ircrepl.js for a repl.


Differences and similarities with ok:

  • 0: reads from a URL.
  • 1: does the same, but decodes json.
  • Has trig functions! sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, tanh2
  • Has other functions! abs, pow
  • Supports n\n.
  • Has whatever's in the okrc as a thing by default too.
  • 2+2 is 5 (unless it's within some other computation, I'm not that mean).
  • Some useful "commands":