What I'm looking for is a code that will run on my bot, and upon a specific command ask the person some questions in pm. The responses to the questions can be accepted from anywhere, but the bot should recognize who is responding to what question no matter where they put the response.

I also want the bot to ask the questions one at a time, waiting for the person to give a response before going to the next question.

The responses are to be stored in a hash table that I've already got called Profiles and need to be stored on a by nick (or better yet, address) basis

For example:
<bot> What is your description?
<RusselB> 5'8", 115 lbs, brown hair, hazel eyes
hadd -m Profile $+(Desc,$address) 5'8", 115 lbs, brown hair, hazel eyes
<bot> What is your location?
<RusselB> Ontario, Canada
hadd -m Profile $+(Loc,$address) Ontario, Canada

I hope that's clear.

P.S.: If possible, I'd also like to include a timer of some kind so that if the person doesn't want to answer the question, all they have to do is wait for (say a minute) and then the bot will go to the next question automatically, but I don't want the bot to go to the next question if (for some reason) it takes more than a minute for the person to enter their response

Last edited by RusselB; 09/04/05 03:08 AM.