[alicebot-general] Math.aiml
R. Vince
rvince99 at earthlink.net
Sat May 20 08:18:36 PDT 2006
I believe this would work for this particular catagory:
<category>
<pattern>* POINT *</pattern>
<template>
<template><think><set name="num1"><star/></set> <set
name="number2"><person><star index="2"/></person></set></think>
<script language="JavaScript">
var result = parseFloat(String(<get name="num1"/>) + '.' + String(<get
name="number2"/>));
document.write(result);</script>
</template>
</category>
-Ralph
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.6.1/343 - Release Date: 5/18/2006
More information about the alicebot-general
mailing list