Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llLoadURL knowing if a button was pressed.

thedp Edman
Registered User
Join date: 21 Jul 2007
Posts: 4
07-26-2007 14:06
Is there a way to know what button was pressed in the Dialog when calling llLoadURL ?


Thank you.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
07-26-2007 14:09
Nope, not unless you rig something which routes the user going to the web site back into SL via something like XMLRPC. Not worth the hassle, I would figure.

But, no, Dialogs are client-side only, and unless they are meant to return a value in-world, then the script can never know what button was pressed, or if a button was pressed at all.
thedp Edman
Registered User
Join date: 21 Jul 2007
Posts: 4
07-26-2007 14:13
From: Talarus Luan
Nope, not unless you rig something which routes the user going to the web site back into SL via something like XMLRPC. Not worth the hassle, I would figure.

But, no, Dialogs are client-side only, and unless they are meant to return a value in-world, then the script can never know what button was pressed, or if a button was pressed at all.

Ok... then is there a way to get the channel on which the llLoadURL dialog is running on?
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
07-26-2007 14:22
No; that specific dialog does not return any info back to the server. It just tells the client to load the URL in your default browser if you click the button.

llDialog returns info back to the server in the form of chat messages on a channel you specify in the call. llLoadURL does not support this, so there will be no return info.