« first day    last day (662 days later) » 
00:00 - 19:0019:00 - 00:00

00:20
!!/new
  +---+
  |   |
  |
  |
  |
__+__

-----
  +---+
  |   |
  |   O
  |
  |
__+__
e
-----
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, e
-----
00:21
!!i
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, i
-----
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, i, o
--o--
  +---+
  |   |
  |  \O/
  |   |
  |
__+__
a, b, e, i, o
--o--
00:22
!!d
  +---+
  |   |
  |  \O/
  |   |
  |  /
__+__
a, b, d, e, i, o
--o--
You people suck. The phrase was cross
!!/learn whoami "$user_name$"
@CoffeeRain Command whoami learned
00:23
!!/whoami
@CoffeeRain CoffeeRain
!!/learn print "$0"
@CoffeeRain Command print learned
!!/print ahs
@CoffeeRain ahs
00:24
Check out the print command!!
 
13 hours later…
12:56
Hello
13:49
Hello
14:16
/learn test "$who bloop $$meep the damned $room_name
!!/learn test "$who bloop $$meep the damned $room_name"
!!/learn test "$who bloop $$meep the damned $room_name"
@Zirak Command test learned
!!/test
@Zirak Could not process input. Error: Cannot read property 'user_name' of undefined
!!/learn test "$who bloop $$meep the damned $room_name"
@Zirak Command test learned
!!/test
@Zirak Could not process input. Error: Cannot read property 'user_name' of undefined
!!/forget test
@Zirak Command test was forgotten.
!!/learn test "$who bloop $$meep the damned $room_name"
@Zirak Command test learned
!!/test
@Zirak $who bloop $$meep the damned $room_name
!!/forget
@Zirak Command does not exist
!!/forget test
@Zirak Command test was forgotten.
!!/learn test "$who bloop $$meep the damned $room_name"
@Zirak Command test learned
!!/test
@Zirak $Zirak bloop $meep the damned Room for ChatBot
Almost...
Hi!
!!/listcommands
@CoffeeRain Available commands:alive, die, forget, define, mdn, jquery, online, user, listcommands, get, learn, test
I'm working on beefing up the /learn output patterns
@zirak Does listcommands list the user defined ones?
Yes
Cool
!!/learn print "$0"
14:29
@CoffeeRain Command print learned
!!/print "$user_name$"
@CoffeeRain $"$user_name$"
!!/print $user_name4
@CoffeeRain $$user_name4
!!/print $user_name$
14:30
@CoffeeRain $$user_name$
@Zirak Why does it append that dollar sign?
!!/print no dollar sign
one sec
@CoffeeRain $no dollar sign
!!/forget test
@Zirak Command test was forgotten.
!!/learn test "$who bloop $$meep the damned $room_name"
@Zirak Command test learned
!!/test
@Zirak Zirak bloop $meep the damned Room for ChatBot
!!/test
@CoffeeRain CoffeeRain bloop $meep the damned Room for ChatBot
Should the command input be parsed for these variables, or the command output, or both?
Probably the command output
That way you know what the person said
14:35
k, then it's fine now
!!/print "$user_name$"
@CoffeeRain $"$user_name$"
!!/print $user_name$
@CoffeeRain $$user_name$
14:36
So far you can do the regular $0, $1, ...$n, the "special" variable $who, and whatever the SO chat object sends as a message object
!!/print $who
@CoffeeRain $$who
The variables are for the output
!!/print who
@CoffeeRain $who
The one you specify in the !!/learn command, and why does it add $?
I don't know
14:38
!!/forget print
@Zirak Command print was forgotten.
!!/learn print $0
@Zirak Command print learned
!!/print blah
@Zirak blah
!!/print $meep
I did it with quotes. That must have been why
@Zirak $meep
!!/print $who
oh right, I fixed that bug after you taught it the command
@CoffeeRain $who
Cool
!!/new
14:40
@CoffeeRain Unidentified command new
:(
!!/listcommands
@CoffeeRain Available commands:alive, die, forget, define, mdn, jquery, online, user, listcommands, get, learn, test, print
one sec
!!/new
  +---+
  |   |
  |
  |
  |
__+__

--------------
  +---+
  |   |
  |   O
  |
  |
__+__
e
--------------
14:43
  +---+
  |   |
  |   O
  |
  |
__+__
a, e
--------a-----
  +---+
  |   |
  |   O
  |
  |
__+__
a, e, i
------i-a-i---
Are you guys still here? lol
!!s
14:44
  +---+
  |   |
  |   O
  |
  |
__+__
a, e, i, o, s
-o----i-a-io-s
  +---+
  |   |
  |   O
  |
  |
__+__
a, e, i, o, s, t
-o----i-atio-s
  +---+
  |   |
  |   O
  |
  |
__+__
a, e, i, n, o, s, t
-o---ni-ations
!!p
14:44
!!c
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, e, i, n, o, p, s, t
-o---ni-ations
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, c, e, i, n, o, p, s, t
co---nications
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, c, e, i, m, n, o, p, s, t
comm-nications
Correct! The phrase is communications. Congrats to @CoffeeRain
14:45
!!/learn clap "Clap, clap, clap!"
§/clap
!!/clap
@Emil Command clap learned
@Emil Clap, clap, clap!
:D
!!/clap
14:45
@CoffeeRain Clap, clap, clap!
Wohoo!
I should go though. big handin tomorrow
!!/learn abs "Sorry guys, $who has to leave."
!!/abs
@CoffeeRain Command abs learned
@CoffeeRain Sorry guys, CoffeeRain has to leave.
:D
Bye!
15:20
!!/forget test
@Zirak Command test does not exist
!!/learn test $someone
@Zirak Command test learned
!!/test
@Zirak sometone
...le what?
!!/learn someone $someone
@Zirak Command someone learned
!!/someone
@Zirak sometone
oh, well duh...
!!/forget someone
@Zirak Command someone was forgotten.
!!/learn someone $someone
!!/someone
/learn test
@Zirak Command someone learned
@Zirak Zirak
/learn test $someone
@Zirak
@Zirak hi
hello
How does this work hahaha
Chatbot :P
15:25
!!/listcommands
@Zirak Available commands:alive, die, forget, define, mdn, jquery, online, user, listcommands, get, learn, new, clap, abs, test, someone
oh so how do i get those commands
!!/commandName [commandArguments]
!!/listcommands
@RainbowHat Available commands:alive, die, forget, define, mdn, jquery, online, user, listcommands, get, learn, new, clap, abs, test, someone
15:27
!!/define Rainbow
!!/commandName alive
@Zirak Rainbow: A similar arc or band, as one produced by a prism or by iridescence. [(source)](http://www.thefreedictionary.com/_/search.aspx?pid=aff18&word=rainbow)
@RainbowHat Unidentified command commandname
!!/define Zirak
wont work :(
@RainbowHat Zirak: The Zirak are a tribal confederation of Durrani Pashtuns, found in Afghanistan and Pakistan. (source)
complicated
15:28
!!/get answer last 1176094
@Zirak Retrieving answer
:2514518 http://stackoverflow.com/q/9074148
cya Zirak
Gbye
!!/listcommands
@andrewjackson Available commands:alive, die, forget, define, mdn, jquery, online, user, listcommands, get, learn, new, clap, abs, test, someone
!!/learn andrewjackson "Andrew Jackson was a great president"
15:35
@andrewjackson Command andrewjackson learned
!!/andrewjackson
@andrewjackson Andrew Jackson was a great president
cool beans
!!/listcommands
@andrewjackson Available commands:alive, die, forget, define, mdn, jquery, online, user, listcommands, get, learn, new, clap, abs, test, someone, andrewjackson
15:38
  +---+
  |   |
  |
  |
  |
__+__

---------
  +---+
  |   |
  |   O
  |
  |
__+__
a
---------
  +---+
  |   |
  |   O
  |
  |
__+__
a, e
e-------e
15:39
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, e, i
e-------e
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, e, i, o
e---o---e
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, e, i, o, u
e---o-u-e
15:42
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, c, e, i, o, u
e-c-o-u-e
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, c, e, i, o, s, u
e-c-osu-e
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, c, e, i, n, o, s, u
enc-osu-e
15:43
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, c, e, i, l, n, o, s, u
enclosu-e
Correct! The phrase is enclosure. Congrats to @andrewjackson
!!/forget andrewjackson
@andrewjackson Command andrewjackson was forgotten.
16:05
Should stuff like these be added? I like $digit
16:31
README draft: pastebin.com/NXuK97KW
16:53
!!/learn test $someone $who $digit $$someone
@Zirak Invalid flags supplied to RegExp constructor '$digit'
!!/learn test "$someone $who $digit $$someone"
@Zirak Command test learned
!!/test
@Zirak Zirak Zirak 4 $someone
Booya!
 
1 hour later…
18:11
@Zirak I like $digit, and $nonzero, but they're not useful without handling plurality, which is remarkably complicatated
same with gender
other variables are fun, but not useful, and not really worth much effort unless you really want this bot to mimic bucket
also, thanks and gratz on the readme
why is it ~ instead of \
Thanks, and yeah...I added $digit because someone here asked for something like it (more like used, expected it would work, and got disappointed)
So that escaping won't mess something up
oh, I suggested it origionally :D
There was several instances where I suggested things and people started ttrying to use them yesterday :D
hehe
problem is "I have $digit ballons" -> "I have 1 balloons"
!!/learn couple "A couple is $digit!"
!!/couple
one of the starred commands is wrong, if you're an op, is it possible for you to take it down?
actually, I think they're all wrong now
wait, in that case op is a noun, not an acronym >.<
!!\learn couple "A couple is $digit!"
@Zirak poke
!!/learn couple "A couple is $digit!"
@Zirak Command couple learned
18:23
!!/couple
!!/couple
@Mooing Duck A couple is 9!
@Zirak A couple is 6!
I tried to star commands that worked, but just noticed !!/learn test "$someone $who $digit $$someone has two dollarsigns. :/ oops
and !!/learn test "$who bloop $$meep the damned $room_name" as well
The $$ is on purpose - you write a literal dollar sign, if you're using a $fillerName by doing $$fillerName
!!/help
!!/get answer 845092
@Zirak Invalid range specifier 845092
Didn't I fix that?
@Zirak oh, didin't realize the dollar sign was supposed to be there. k
!!/get answer 845092
@Zirak Retrieving answer
2
A: boost::chrono nanoseconde windows7

Mooing DuckAs I delve through the docs, it looks like the difference between two times returns a duration, and that high_resolution_clock might be a system_clock or a steady_clock (depending on if the OS's API has a steady clock). steady_clock::duration is nanoseconds. system_clock docs say "The nested du...

Now it's fixed
I'm a bit afraid to cache requests to SO, because these things can change between queries
18:39
@Zirak so cache for a duration of 5m or something
prevents vandalism, but still handy
or even one minute
There should be something to prevent spamming
SO already prevents it, but another layer wouldn't hurt much
just in case
00:00 - 19:0019:00 - 00:00

« first day    last day (662 days later) »