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

12:20 AM
!!/new
 
  +---+
  |   |
  |
  |
  |
__+__

-----
 
!!e
 
  +---+
  |   |
  |   O
  |
  |
__+__
e
-----
 
!!a
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, e
-----
 
12:21 AM
!!i
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, i
-----
 
!!o
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, i, o
--o--
 
!!b
 
  +---+
  |   |
  |  \O/
  |   |
  |
__+__
a, b, e, i, o
--o--
 
12:22 AM
!!d
 
  +---+
  |   |
  |  \O/
  |   |
  |  /
__+__
a, b, d, e, i, o
--o--
 
!!f
 
You people suck. The phrase was cross
 
!!/learn whoami "$user_name$"
 
@CoffeeRain Command whoami learned
 
12:23 AM
!!/whoami
 
@CoffeeRain CoffeeRain
 
!!/learn print "$0"
 
@CoffeeRain Command print learned
 
!!/print ahs
 
@CoffeeRain ahs
 
12:24 AM
Check out the print command!!
 
 
13 hours later…
12:56 PM
Hello
 
1:49 PM
Hello
 
2:16 PM
/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"
 
2:29 PM
@CoffeeRain Command print learned
 
!!/print "$user_name$"
 
@CoffeeRain $"$user_name$"
 
!!/print $user_name4
 
@CoffeeRain $$user_name4
 
!!/print $user_name$
 
2:30 PM
@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
 
2:35 PM
k, then it's fine now
 
!!/print "$user_name$"
 
@CoffeeRain $"$user_name$"
 
!!/print $user_name$
 
@CoffeeRain $$user_name$
 
2:36 PM
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
 
2:38 PM
!!/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
 
2:40 PM
@CoffeeRain Unidentified command new
 
:(
!!/listcommands
 
@CoffeeRain Available commands:alive, die, forget, define, mdn, jquery, online, user, listcommands, get, learn, test, print
one sec
!!/new
  +---+
  |   |
  |
  |
  |
__+__

--------------
 
!!e
 
  +---+
  |   |
  |   O
  |
  |
__+__
e
--------------
 
!!A
 
2:43 PM
  +---+
  |   |
  |   O
  |
  |
__+__
a, e
--------a-----
 
!!i
 
  +---+
  |   |
  |   O
  |
  |
__+__
a, e, i
------i-a-i---
 
Are you guys still here? lol
 
!!o
 
!!s
 
2:44 PM
  +---+
  |   |
  |   O
  |
  |
__+__
a, e, i, o, s
-o----i-a-io-s
 
!!t
 
  +---+
  |   |
  |   O
  |
  |
__+__
a, e, i, o, s, t
-o----i-atio-s
 
!!n
 
  +---+
  |   |
  |   O
  |
  |
__+__
a, e, i, n, o, s, t
-o---ni-ations
 
!!p
 
2:44 PM
!!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
 
!!m
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, c, e, i, m, n, o, p, s, t
comm-nications
 
!!u
 
Correct! The phrase is communications. Congrats to @CoffeeRain
 
2:45 PM
!!/learn clap "Clap, clap, clap!"
 
§/clap
!!/clap
 
@Emil Command clap learned
@Emil Clap, clap, clap!
 
:D
 
!!/clap
 
2:45 PM
@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!
 
3:20 PM
!!/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
 
3:25 PM
!!/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
 
hmm
 
3:27 PM
!!/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
 
3:28 PM
!!/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"
 
3:35 PM
@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
 
!!/new
 
3:38 PM
  +---+
  |   |
  |
  |
  |
__+__

---------
 
  +---+
  |   |
  |   O
  |
  |
__+__
a
---------
 
  +---+
  |   |
  |   O
  |
  |
__+__
a, e
e-------e
 
3:39 PM
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, e, i
e-------e
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, e, i, o
e---o---e
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, e, i, o, u
e---o-u-e
 
3:42 PM
  +---+
  |   |
  |   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
 
3:43 PM
  +---+
  |   |
  |   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.
 
4:05 PM
Should stuff like these be added? I like $digit
 
4:31 PM
README draft: pastebin.com/NXuK97KW
 
4:53 PM
!!/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…
6:11 PM
@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
 
6:23 PM
!!/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
 
6:39 PM
@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) »