Send Message in Parts (aiml)

  • 2 Replies
  • 3395 Views
*

warlord_7

  • Guest
Send Message in Parts (aiml)
« 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.

*

Maviarab

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1231
  • What are you doing Dave?
    • The Celluloid Sage
Re: Send Message in Parts (aiml)
« Reply #1 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 :)

*

abstemious

  • Roomba
  • *
  • 6
Re: Send Message in Parts (aiml)
« Reply #2 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

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.
« Last Edit: June 17, 2009, 05:12:48 pm by abstemious »