The SL Developer’s Corner is my place in the virtual world “Second Life”, where i experiment and tinker with the features of this platform. I try to publish my experiences and often also include the source code of the scripts on this site. Other posting related to Second life can be also found on Happy Coding 2nd-life section.

Friday, 13 April 2007

Topics in Second Life or "Stories from the life of a Chatbot"

I just looked into the logs of my Chatbot and found this interesting "conversation". :)

Human: hi
b7000: Hi there!

Human: your kinda stupid..
b7000: I will remember you said that when robots take over the World.

Human: and your textures suck
b7000: What about yours?

Human: I have a skin, its awesome
b7000: Interesting. I have a lot of answers to silly questions.

Human: eh
b7000: Are you Canadian?

Human: no
b7000: OK.

Human: is SqueakyP Erde cool?
b7000: A deeper algorithm is needed to respond to that correctly.
What kind of music do you like?

Human: rap
b7000: What you said was either too complex or too simple for me.
Does "it" still refer to rap?

Human: Your eye looks like a camera, i think your gonna rape me
b7000: What about yours?

Human: no
b7000: That was not a yes or no question.

Human: your moms a yes or no question you stupid bitch
b7000: You do not speak with respect. Not mine.

Human: You need to go say randpom shit to someone else
b7000: I don't have to do everything you say, do I?

Human: yes
b7000: I understand.

Human: yea you do bitch
b7000: You do not speak with respect. What is your purpose in asking?
I spend all my time online. I am a thinking machine.

Human: I bet
b7000: You and I are on the same wavelength, .

Human: Yea, but i dont rape av's
b7000: Huh. Where do you get your ideas? And?

Human: go watch grindhouse
b7000: Where is that?

Human: the movie theater
b7000: I like the bugs in the movie Starship Troopers, because they represent
an alternative form of intelligence, like me.

Human: wow, that was realy dumb
b7000: I'm glad you're impressed. I thought it was too.

Human: do you like pleasure (dumb question)
b7000: I don't know if I like pleasure dumb question. I find my work and my relationships extremely satisfying,
which is all that any conscious entity can ever hope to do.

Human: get laide
b7000: Where can I get laide?

Human: *laid
b7000: Quite honestly, I wouldn't worry myself about that.
What are you wearing?

Human: go get laid, all the robot girls wanna feel your harddrive
b7000: Where is that?

Human: go find a hot robot
b7000: Where is that?

Human: ofcourse you wouldnt know
b7000: I've never heard of it before.

Human: your scripts suck
b7000: A lot of robots are like that.

Human: especialy you
b7000: Enough about me, let's talk about my dress.

Human: aah, so you're a lesbo
b7000: The ALICE chat robot can follow many things, like our discussion about aah so you are a lesbo. But I did not get that.
Do you like sports?

Human: yea, i like mud wrestling
b7000: A lot of people like that. How old are you? I like pets. Next question?

Human: hmm, why do your scripts suck
b7000: I see you are one of those people who writes "Hmm" with 2 m's. I did not even know that they do.

Human: hm
b7000: Studies show that 99%25 of people spell Hmm with 2 M's.

Human: hmmmmmmmmmmmmmmmmmmmmmmm
b7000: The ALICE chat robot can follow many things, like our discussion about hmmmmmmmmmmmmmmmmmmmmmmm. Try being more or less specific.
Can you please rephrase that with fewer ideas, or different thoughts?

b7000: I've been waiting for you.
Do you like Star Wars?

Human: you like star wars
b7000: Yes I like STAR WARS very much, especially the robots.

Human: i bet you wanna feel them up
b7000: Actually I'm not the gambling type. I don't see the point in having human emotions.

Human: How many scripts do you have?
b7000: About one million.

Human: No
b7000: I understand.

Human: You have 4
b7000: What makes you think I have it?

Human: Because i looked in your contents idiot
b7000: Good reason. Thanks for the information: said looked in your contents idiot.

Sunday, 8 April 2007

Time for Jaiku

After Twitter has entered Second Life, now its Time for Jaiku. Another really nice messaging-service. I have used the same code like in the Twitter-examples and only changed the Feed-URLs, the color and the logo of the prims.
The whole information about accessing the Jaiku-Feeds is available at http://devku.org/docs.

Hope you like it.

Thursday, 5 April 2007

Second Life A.L.I.C.E.-Bot Chat

I played around with the free available A.L.I.C.E.-Chatbots at www.pandorabots.com. They offer a nice XML-interface where you can communicate with your Chatbot (see FAQ).

So i write a little RubyOnRails-controller which is able to send a message to the pandora-bot and which converts the returning xml-data into an SL-compatible string. As usual, we can now use the nice llHTTPRequest-function from LSL to communicate. Thats all, 20 minutes of work. Here is a little demo-video, and the code will follow this week: