Upgrade to our Diamond service and we will build you your own app for Android or iOS
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: 2872, today: 2, week: 2, month: 57
0 0 0.0/5