forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Bot

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Vao
Newbie


Joined: 23 Jul 2004
Posts: 18

PostPosted: Sun Jul 25, 2004 10:53 am    Post subject: Bot Reply with quote

Ok i am working on a bot... i have a tough question i have NO idea how to do Smile

What is your name?
ZeekyBoogyDoog
Hi, ZeekyBoogyDoog!

RANDOM GUESS

if @equal blah blah am i close? Razz
Back to top
View user's profile Send private message
Vao
Newbie


Joined: 23 Jul 2004
Posts: 18

PostPosted: Mon Jul 26, 2004 2:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Jul 26, 2004 11:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Vao
Newbie


Joined: 23 Jul 2004
Posts: 18

PostPosted: Tue Jul 27, 2004 3:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Vao
Newbie


Joined: 23 Jul 2004
Posts: 18

PostPosted: Thu Jul 29, 2004 10:47 am    Post subject: Reply with quote

...errr
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Jul 29, 2004 11:24 am    Post subject: Reply with quote

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... Smile

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Vao
Newbie


Joined: 23 Jul 2004
Posts: 18

PostPosted: Mon Aug 02, 2004 10:39 am    Post subject: Reply with quote

Thx alot!! Wink
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Aug 02, 2004 11:04 am    Post subject: Reply with quote

No problem... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group