[pandorabots-general] An other question about pandorabot andjavascript....
MP
missioncontrol at marzopolis.com
Wed Feb 21 18:31:29 PST 2007
Um, and why can't this be done on the .NET side instead? Use the API for
your conversations and any programmatic actions with whatever language
you're using to call it.
I doubt Pandorabots will support what you're trying to do. Perhaps Doubly
will eventually chime in and clear that up.
alienz
botworld.marzopolis.com
marzbot.marzopolis.com
-----Original Message-----
From:
pandorabots-general-bounces+missioncontrol=marzopolis.com at list.pandorabots.c
om
[mailto:pandorabots-general-bounces+missioncontrol=marzopolis.com at list.pando
rabots.com] On Behalf Of ceki kela
Sent: Wednesday, February 21, 2007 5:32 AM
To: pandorabots-general at list.pandorabots.com
Subject: [pandorabots-general] An other question about pandorabot
andjavascript....
Hi,
As you can see, i am still trying to use javascript with pandorabot (via the
api).
I know now that <javascript> available in the program D is not supported by
Program Z but i saw some examples with the tag <script>.
I want to use javascript because i need to manipulate strings caracteres,
and i need to manipulate numbers (for calculation) as well. It means that i
do not need javascript in order to open window (window.open) or any other
browser manipulations.
I wrote this <category> for my test but in training mode, i receive this
answer : "The result is javascript:Ccc()."
<category>
<pattern>ADD *</pattern>
<template>
<think>
<script language="JavaScript">
function Ccc(){
var increment = '<star index="1"/>';
switch (increment) {
case 'ONE':
return 'TWO';
break;
case 'TW0':
return 'THREE';
break;
}
}
</script>
</think>
The result is javascript:Ccc()
</template>
</category>
</aiml>
The javascript seems not executed.
This is not a good example because i could make this kind of manipulation
with aiml only, but i have a bigger scripts where i really need javascript.
Again, i want to use the pandorabot with a third application (web service
written with vb.net) and not into an html web page.
Any help is welcoming..and apologies again for my poor english level.
Thanks,
Johnny
_________________________________________________________________
Découvrez le Blog heroic Fantaisy d'Eragon!
http://eragon-heroic-fantasy.spaces.live.com/
_______________________________________________
This is the pandorabots-general mailing list
To Post, reply to pandorabots-general at list.pandorabots.com
Unsubscribe and change preferences at
http://list.pandorabots.com/mailman/listinfo/pandorabots-general
Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
Learn to read at http://www.literacy.org/
More information about the pandorabots-general
mailing list