| View previous topic :: View next topic |
| Author |
Message |
Vao Newbie
Joined: 23 Jul 2004 Posts: 18
|
Posted: Sun Jul 25, 2004 10:53 am Post subject: Bot |
|
|
Ok i am working on a bot... i have a tough question i have NO idea how to do
What is your name?
ZeekyBoogyDoog
Hi, ZeekyBoogyDoog!
RANDOM GUESS
if @equal blah blah am i close?  |
|
| Back to top |
|
 |
Vao Newbie
Joined: 23 Jul 2004 Posts: 18
|
Posted: Mon Jul 26, 2004 2:10 pm Post subject: |
|
|
| Is there no way or does this follow into the hacking/cracking category? it's justa bot for msn :S that will respond to people when i am away. |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Mon Jul 26, 2004 11:52 pm Post subject: |
|
|
Vao,
Umm I think the people here need to know more about what you are talking about to answer your question. _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
Vao Newbie
Joined: 23 Jul 2004 Posts: 18
|
Posted: Tue Jul 27, 2004 3:50 am Post subject: |
|
|
Like.. make it respond to an IM like..
Bot: Hi what's your name
Zeeky: Zeeky Boogy Doog
Bot: Hi Zeeky Boogy Doog! |
|
| Back to top |
|
 |
Vao Newbie
Joined: 23 Jul 2004 Posts: 18
|
Posted: Thu Jul 29, 2004 10:47 am Post subject: |
|
|
| ...errr |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Thu Jul 29, 2004 11:24 am Post subject: |
|
|
This could be a simple bot:
| Code: | list create,1
list create,2
list add,1,"Hello"
list add,1,"How are you?"
list add,1,"I'm fine too."
list add,2,"Hi"
list add,2,"I'm fine, how about you?"
list add,2,"Great to hear!"
repeat
%%Input = @input(Please ask a question.)
list seek,1,0
if @match(1,@trim(%%Input))
info @item(2,@index(1))
end
until @equal(%%Input,)
list close,2
list close,1 |
You can use the above code, but aware that it does not "think" for itself when something is asked which it can't understand. It's better to create a "@match()" method yourself, for example by looking for the longest words in a question...  _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
Vao Newbie
Joined: 23 Jul 2004 Posts: 18
|
Posted: Mon Aug 02, 2004 10:39 am Post subject: |
|
|
Thx alot!!  |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
|