Download Bot Libre Desktop, your own personal bot for your PC or Mac
Self, AIML, and scripting : Using the "that" element

RE: Using the "that" element

by admin posted Jul 26 2018, 13:24

The <that> tag in AIML can also be a pattern, in this case you would need to use a pattern if the previous response was a template.

<category>
<pattern>NO</pattern>
<that>DO YOU WANT TO DIE *</that>
<template>Okay, then let's talk this out.</template>
</category>

You can also use a response list for this instead, which lets you use "next", which is a better way to define a follow-up response.

https://www.botlibre.com/forum-post?id=21832117


Id: 22964702
Posted: Jul 26 2018, 13:24
Replies: 0
Views: 2889, today: 1, week: 8, month: 9
0 0 0.0/5