last day (663 days later) » 

16:50
!!/online
@Zirak Zirak
!!/define awesome
!!/define awesome
!!/define awesome
I'll get there...
!!/define awesome
@awesome:Expressing awe: stood in awesome silence before the ancient ruins. Zirak
ooookay
!!/define awesome
@Zirak awesome: Expressing awe: stood in awesome silence before the ancient ruins.
!!/define contemporary
@Zirak contemporary: Belonging to the same period of time: a fact documented by two contemporary sources.
[[test]](nyan.cat)
!!/define benevolence
@Zirak benevolence: An inclination to perform kind, charitable acts.(source)
!!/define fsdafsa
@Zirak Could not find definition for fsdafsa
17:46
!!/mdn String.replace
!!/learn test "$name$ blah bloop meep"
@Zirak Command test learned
!!/test
@Zirak $name$ blah bloop meep
@Mooing Duck Invalid flags supplied to RegExp constructor 'the'
Why?
I.... dunno?
it seemed like a useful thing for a bot
This is just a test room, since I get yelled at when I try to test it in regular chat rooms
and I wanted to see if I could command/teach/use it
@Zirak I'm aware, I'm watching
maybe just play with the bot
or offer suggestions
18:00
The learn syntax is like this: !!/learn commandName outputPattern inputRegex regexFlags
The outputPattern is like String.prototype.replace String output pattern (but I'm working on making it funkier)
And inputRegex is a, well, regular expression, but instead of things like \w, you do ~w
The inputRegex defaults to .*
so one uses the inputRegex to pick up variables from the commandName/after the commandName for use in the outputPattern? Interesting
!!/learn greet "Hello, $0!" ~w+
@Zirak are you a bot?
@Zirak Command greet learned
!!/greet Emil
@Zirak Hello, Emil!
hey!
18:05
Half-bot. Just testing and playing with it here
!!/learn test "$name$ meep"
@Zirak Command test already exists
!!/forget test
Why hello there, bug...
@Emil he's teaching himself commands, it's kind of a givaway :D
!!/forget test
hm, weird...
!!/learn test "$name$ meep"
@Zirak Command test learned
!!/test
@Zirak $name$ meep
!!/test
@Zirak $name$ meep
can you hardcode it to respond to "help" and "@Zirak help" and return a link to some sort of documentation? ALways a good idea with bots
Sure, but writing the documentation is the problem '^^
true. I see a readme file, but it's empty :(
18:15
!!/test
@Zirak $name$ meep
gggrrr
!!/test
@Zirak $name$ meep
user935375
what evil is this?!
~_~
@Kani I don't understand that question, isn't it obvious what this is?
@Kani Zirak is a codename for skynet
room topic changed to Room for ChatBot: Room for testing a chatbot (no tags)
user935375
oh
user935375
18:22
are you real?
user935375
or bots?
@Kani nope, I am your subconscious
You can never know
@Kani Zirak is a cyborg, I'm a duck
I'm not a cyborg! I'm a beautiful princess
user935375
18:23
don't harm me!
@Zirak you're half robot half human, that makes you a cyborg
Skynet, the main antagonist in the Terminator franchise, is a fictional artificially intelligent system which became self-aware and decided to terminate humanity, its creators. Skynet is rarely seen onscreen, and its actions are often performed via other robots, cyborgs, and computer systems, usually a Terminator. Origin and nature Prior to the events of the second movie, Skynet was a computer system developed by the defense firm Cyberdyne Systems for the United States Armed Forces. Skynet was first built as a "Global Digital Defense Network" and given command over all computerized mil...
!!/learn test "$name$ meep"
@Zirak Command test learned
!!/test
@Zirak $name$ meep
The Turing test is a test of a machine's ability to exhibit intelligent behaviour. In Turing's original illustrative example, a human judge engages in a natural language conversation with a human and a machine designed to generate performance indistinguishable from that of a human being. All participants are separated from one another. If the judge cannot reliably tell the machine from the human, the machine is said to have passed the test. The test does not check the ability to give the correct answer, it checks how closely the answer resembles typical human answers. The conversation i...
Schwarzenegger damn it!
user935375
we are doomed! hasta la vista!
18:25
facepalm
!!/forget test
@Zirak Command test was forgotten.
!!/learn "$user_name$ meep"
@Zirak Illegal /learn object "$user_name$ meep"
!!/learn test "$user_name$ meep"
@Zirak Command test learned
!!/test
@Zirak Zirak meep
Booya!
Let's see if the hangman is still functioning...
!!/new
oright
!!/new
!!/new
+---+
| |
|
|
|
__+__

------
Right, forgot about codifying...
!!/new
+---+
| |
|
|
|
__+__

-----
+---+
| |
|
|
|
__+__

---------
!!/new
  +---+
  |   |
  |
  |
  |
__+__

-------------
this is actually quite entertaining
!!/hangman e
@Mooing Duck Unidentified command hangman
@Emil watching the process? Yeah
All you guys see is a bunch of failures, and then it once magically works :P
18:38
@MooingDuck yep! how do you guess the letter, @Zirak?
@Zirak we see bits moving about, we've all been there
!!/guess e
@Mooing Duck Unidentified command guess
okay, stuff should work right...
!!/new
+---+
| |
|
|
|
__+__

-------
@Zirak in theory every thing works
@_@
@Zirak awful optimistic aren't we?
18:40
if ( bot.codifyOutput ) {
    bot.elems.input.value = message;
    bot.elems.codify.click();
    message = bot.elems.input.value;

    bot.codifyOutput = false;
    bot.elems.input.value = '';
}
The last bit isn't necessary
!!/new
  +---+
  |   |
  |
  |
  |
__+__

-----
!!e
  +---+
  |   |
  |
  |
  |
__+__
e
---e-
!!z
  +---+
  |   |
  |   O
  |
  |
__+__
e, z
---e-
Oooo, fun!
!!cake
  +---+
  |   |
  |   O
  |   |
  |
__+__
e, z, cake
---e-
!!s
  +---+
  |   |
  |   O
  |   |
  |
__+__
e, z, cake, s
--ses
hm,
!!roses
oh, it didn't work
!!roses
18:44
@Emil I think that should be disallowed'
  +---+
  |   |
  |   O/
  |   |
  |
__+__
e, z, cake, s, roses
--ses
huh?
oh, weird...
@Emil or you won and it didnt have code for that
!!e
No, hangman is complete. There was just a weird delay
@Mooing Duck e was already submitted
@Zirak good good
!!r
!!o
  +---+
  |   |
  |  \O/
  |   |
  |  /
__+__
e, z, cake, s, roses, r, o
--ses
18:46
!!t
ok, now there's an error
!a
!u
@Zirak always is
@Mooing Duck Could not process input. Error: Object #<Object> has no method 'add'
You people suck. The phrase was cases
@Zirak nmichaels.org/hangsolve.py cases isnt there
also, we guessed cake as a letter
18:48
It allows you to submit more than characters, so that someone can guess the word right ahead
!!/new
can we guess the word new?
!!/command is treated differently. When the bot sees !!something, it first tries to parse it as a command, and if it fails, it fires an event. Once the game is started, it listens to that event and processes your input.
So yes, you can guess the word new ;)
And for some reason, the bot is rebelling
!!/new
I wasn't right with roses?
I hope I didn't break anything..
18:52
ah, I see...no, it's a fail on my end
Isn't it always.. :P
@Zirak so that means we can't guess the word new, since that would restart the game
You guess by doing !!guess, not !!/guess
@Zirak oh, interesting
huh, actually, I have no idea why this isn't working again...
18:54
Does that mean I could start a new game by typing !!/new?
Yep
!!new
!!/new
!!new
Well, if stuff don't work, a restart always helps
!!botareyouthere?
!!restart
:D
hahah
18:55
Try now
§§/new
!!/restart
fail
@Mooing Duck Unidentified command restart
!!/new
18:55
!!restart
  +---+
  |   |
  |   O
  |
  |
__+__
restart
----------
aw, you guessed restart? :D
  +---+
  |   |
  |   O
  |
  |
__+__
restart, o
-------o--
!!s
18:56
  +---+
  |   |
  |   O
  |
  |
__+__
restart, o, s
-------o-s
  +---+
  |   |
  |   O
  |
  |
__+__
restart, o, s, n
-------ons
!!pidgeons
  +---+
  |   |
  |   O
  |   |
  |
__+__
restart, o, s, n, pidgeons
-------ons
18:57
  +---+
  |   |
  |   O
  |   |
  |
__+__
restart, o, s, n, pidgeons, t
-----t-ons
I really can't count
!!e
@DieVarDump Only alphanumeric and whitespace characters allowed
  +---+
  |   |
  |   O
  |   |
  |
__+__
restart, o, s, n, pidgeons, t, e
-e-e-t-ons
emil: nmichaels.org/hangsolve.py, and ETAONRISHDLFCMUGYPWBVKXJQZ
!!new

  last day (663 days later) »