Webagent Messages

Hi. I’ve got a question about webagents.I have an webagent running which is doing a fulltext search. The result is presented via ajax to the website. My problem are the messages that the webagent send on its own.

The default is a whole html site without content.

I could disable this with:

Print “Content-Type:text/plain; charset=UTF-8”

This is the first output of the webagent and it works. Now only my output is send back to the site.

But sometimes when I use the search-inputbox and type something like:

sometext and

(and for boolean search)

the agents responds with “Agent ist fertig” (Sorry. Don’t know how he says it in english. Maybe agent done?)

How do I disable this message? It is not formated and makes my searchbox unusable (Other layout, useless message, etc.).

Thanks

Micha Blankenburg

Subject: Web-Agent Message

Ok. I solved it.I added at the beginning an on error goto section

and added in this section an print statement with my own text. Before this section you have to do an exit sub.

Problem solved.

Micha