×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Create your own chatbot with EAIM!
Create your own chatbot with EAIM!
Esh
« Censeur »
1424177520000
    • Esh#0095
    • Profil
    • Derniers messages
    • Tribu
#1
  0
  • Home
  • Databases

http://i.imgur.com/ZL2X8y2.png



Hey!
I present my new project: EAIM! But first, what is EAIM? is a small XML-based programming language that i've been working on. In this markup language, you can create your own chat bot, how? its simple!

First you will need to create an database, you will save it line 2. To create chat lines, you have to separate each line of conversation with newline and then use some tags:

• <cat></cat> - You will need these two tags to separate lines of conversation.

• <pattern="TEXT"/> - the tag pattern will store the text that is typed by the player, you can use * random text or complement. the text have to be in upper case and not have accents.

• <response="TEXT"/> - this tag will store what the bot will say when the line's pattern is activated. You can use <response="{TEXT1/TEXT2/TEXT3}"/> to set a random answer.

• <bot='INFO'/> - returns INFO from the table bot.info .

• <star='ID'/> - Returns a player's message. Separated by spaces, the id will return the word index: "hello user", <star='2'/> will return "user".

Here's an database example:
<cat><pattern="HI"/><response="{Hey!/Hey sweety}"/></cat>
<cat><pattern="HOW ARE YOU"/><response="{I'm fine, thanks!/Fine,and you?}"/></cat>
<cat><pattern="*"/><response="I dont understand you..."/></cat>


I'm planning to make more implements to this script. If you have any suggestion, feel free to comment!

Script

http://i.imgur.com/6FZdSU3.png



You made an database? Send me a private message and it will appear here!
Enginfener
« Citoyen »
1424182380000
    • Enginfener#0000
    • Profil
    • Derniers messages
    • Tribu
#2
  0
Thank you and idk Example Image pls?
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Create your own chatbot with EAIM!
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27