[pandorabots-general] Pandorabots and javascript
ceki kela
jbx028 at hotmail.com
Wed Feb 14 00:13:44 PST 2007
Ok, (i am using vb.net through a web service) but it is a behavior
completely different. Imagine that i would like to implement a simple
calculation functionalities.
Something like:
<category>
<pattern>ADD *</pattern>
<template>
<think><set name="aincr">
<javascript>
var increment = '<star index="1"/>';
switch (increment) {
case 'ONE':
increment = 'TWO';
break;
case 'TW0':
increment = 'THREE';
break;
}
increment;
</javascript>
</think></set>
The result is <get name="aincr"/>
</template>
</category>
This is not a real good example, but i just wanted to show that this logic
has to be embedded into the aiml and not into my vb.net code.
I have a lot of aiml categories i wrote for program D (written in java) that
doesn't work with pandorabot, this this why i wanted to know if javascript
will be supported by the pandorabot engine.
Thanks again,
Johnny
>From: "MP" <missioncontrol at marzopolis.com>
>Reply-To: pandorabots-general at list.pandorabots.com
>To: <pandorabots-general at list.pandorabots.com>
>Subject: Re: [pandorabots-general] Pandorabots and javascript
>Date: Tue, 13 Feb 2007 20:23:04 -0500
>
>What are you using to access the API? You can't call javascript through the
>it, however depending on the platform the bot is using you can implement
>similar functionality with the programming language it runs on.
>
>alienz
>http://botworld.marzopolis.com
>http://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: Tuesday, February 13, 2007 3:35 PM
>To: pandorabots-general at list.pandorabots.com
>Subject: Re: [pandorabots-general] Pandorabots and javascript
>
>ok but i am accessing pandorabot with the api without any html web
>pages...can i add <script> into the aiml ? maybe i do not understand
>something...
>
>Johnny Baillargeaux
>
>
> >From: Noel Bush <noel at aitools.org>
> >Reply-To: pandorabots-general at list.pandorabots.com
> >To: pandorabots-general at list.pandorabots.com
> >Subject: Re: [pandorabots-general] Pandorabots and javascript
> >Date: Tue, 13 Feb 2007 12:27:51 -0500
> >
> >The AIML <javascript/> element is for server-side Javascript. You don't
> >need it to send javascript to the client. Just include the script in
> >your response using the HTML <script/> element, a la
> >
> ><script language="javascript">window.alert('hi!');</script>
> >
> >ceki kela wrote on 02/13/2007 09:23 AM:
> > > Hi,
> > > I suppose that you already have received the same kind of question
> >but....do
> > > you have planned to implement the tag <javascript>? I am using
> >pandorabot
> > > via the api so i cannot use javascript into the html.
> > >
> > > Thanks,
> > > Johnny Baillargeaux
> > >
> > > _________________________________________________________________
> > > 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/
> >_______________________________________________
> >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/
>
>_________________________________________________________________
>Personnalisez votre Messenger avec Live.com
>http://www.windowslive.fr/livecom/
>
>_______________________________________________
>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/
>
>_______________________________________________
>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/
_________________________________________________________________
Avec Windows Live OneCare éliminez tous les virus de votre PC !
http://www.windowslive.fr/liveonecare/default.asp
More information about the pandorabots-general
mailing list