Ai Dreams Forum

Chatbots => A.L.I.C.E (AIML) => Topic started by: warlord_7 on June 15, 2009, 07:43:05 pm

Title: Send Message in Parts (aiml)
Post by: warlord_7 on June 15, 2009, 07:43:05 pm
Hey,
I have a question. Is there any chance to make a bot in aiml send a long message in several parts?Because my bots intention is to send big long text but if he do the client (trillain) disconnects or there is the problem :
 *** Error while sending IM: Refused by client
So... how can i split the long text in some parts wich the bot sends the user.
I would be glad for any help.
Thanks in advance.
Title: Re: Send Message in Parts (aiml)
Post by: Maviarab on June 16, 2009, 06:33:16 pm
No idea how to help you myself but may I be the first to welcome you along to the forum :)
Title: Re: Send Message in Parts (aiml)
Post by: abstemious on June 17, 2009, 04:22:16 pm
I do not know how to do that in AIML, but there might be a way with some contortion of <TOPIC> and <THAT>. The basic approach might be something like
http://www.alicebot.org/aiml/aaa/Stories.aiml (http://www.alicebot.org/aiml/aaa/Stories.aiml)

You could use JavaScript if you are running an AIML interpreter on your own machine....

See the Suzette and CHAT-L posts here for a far superior alternative. Unfortunately it is not available yet.