DEMOCOMPARE
This demo will show some random Simpson characters and see if they match:
democompare1
democompare1
democompare1
democompare1
democompare1
democompare1
democompare1
democompare1
democompare1
democompare1
End of demo. To use BOTCOMPARE, type the following into your AIML:
BOTCOMPARE<get name="xxxxx"/><get name="yyyyy"/>
Replace xxxxx and yyyyy with your own variables.
DEMOCOMPARE1
RANDOMSIMPSON
RANDOMSIMPSON
BOTCOMPARE
+=
RANDOMSIMPSON
Bart
Homer
Lisa
BOT COMPARE *
BOTCOMPARE
BOTCOMPARE * *
botcomparison
BOTCOMPARISON
BOTCHECK
YES
botcheck
botremovecomparison
BOTCHECK *
NO
BOTREMOVECOMPARISON
BOTCHECK
NO
BOTCOMPARE
BOTCOMPARE failed as nothing was passed to compare.
Usgae: BOTCOMPARE<get name="xxxxx"/><get name="yyyyy"/>
Replace xxxxx and yyyyy with your own variables.
FAIL
BOTCOMPARE *
BOTCOMPARE failed as only one item was passed to compare.
Usage: BOTCOMPARE<get name="xxxxx"/><get name="yyyyy"/>
Replace xxxxx and yyyyy with your own variables.
FAIL
BOTCOMPARE * * *
BOTCOMPARE failed as too many items were passed to compare.
Usage: BOTCOMPARE<get name="xxxxx"/><get name="yyyyy"/>
Replace xxxxx and yyyyy with your own variables.
FAIL