|
Schuyler Kent
Registered User
Join date: 30 Jan 2005
Posts: 22
|
12-22-2006 09:22
I am sure that to most this is LSL 101, but for the life of me I can't seem to figure this out. I want to listen on X channel for an avatar string of text, take that text and pass it to a server via llHTTPRequest and the "POST" method. The server should return a text string based on the string that was sent. I want the returned string to be llInstantMessage or llSay to the sender. I have used the example from the wiki and can return the source of a web page, but now I want the text submitted and the response sent back in. Any other spots to look other than the wiki?
thanks and happy holidays.
|
|
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
|
12-22-2006 09:36
I don't think you can do that with a static web page, you'll have to write a PHP (or whatever) script on the server that dynamically generates a page that's based on the input data.
But I'm no web programming expert, so there might be other ways of doing this.
|
|
Schuyler Kent
Registered User
Join date: 30 Jan 2005
Posts: 22
|
12-22-2006 09:41
From: Ziggy Puff I don't think you can do that with a static web page, you'll have to write a PHP (or whatever) script on the server that dynamically generates a page that's based on the input data.
But I'm no web programming expert, so there might be other ways of doing this. Right- my business partner has a little form on a site to receive the posts. I am board and he is on holiday so I thought I would play around. thanks EDIT - Here is a simple test that anyone should have access to: http://www.pandorabots.com/pandora/talk?botid=dcdcb3b81e363808 let's say I want to send text to this ANIML bot and have it return the response to me in SL. This is pretty much the same idea of what I am wanting to do.
|