[Opensim-users] Moving Script Recipes from SL to OpenSim
BlueWall
jamesh at bluewallgroup.com
Thu Nov 25 14:46:25 UTC 2010
On 11/25/2010 09:09 AM, Kay McLennan wrote:
> I am in the process of moving my educational builds, materials, etc.
> from SL to a hosted OpenSim VW. In turn, I encountered a problem with
> a "go to website" script -- see the script below. That is, the note
> card giver script I moved from SL to OpenSim works fine but the "go to
> website" script does not. Any suggestions for what I need to do to
> fix the "go to website" script and/or an alternative "go to website"
> script?
>
> Note: Even though it is likely quite obvious, the extent of my
> programming experience is limited to using and modifying LSL script
> recipes.
>
> string message="Touch to open the School of Continuing Studies web
> site..."; //Put your message for the Load URL window here
> string URL="http://www.scs.tulane.edu/"; //Put the URL you
> want to open here
> default
> {
> state_entry()
> {
> llSetText(llGetObjectName(), <1.0, 1.0, 1.0>, 1.0);
> }
> touch_start(integer total_number)
> {
> llLoadURL(llDetectedKey(0),message, URL");
> }
> }
>
> With the following error received: (15, -1) Unexpected EOF
>
> Thank you in advance for your help!
>
> Best,
> Kay
>
> /Kay L. McLennan, Ph.D.
> Professor of Practice
> & Acting Director, Online Learning
> School of Continuing Studies
> Tulane University
> //kmclenna at tulane.edu/ <mailto:kmclenna at tulane.edu>
> /Teaching web site - //http://www.tulane.edu/~kmclenna/
> <https://ent.tulane.edu/exchweb/bin/redir.asp?URL=https://ent.tulane.edu/exchweb/bin/redir.asp?URL=http://www.tulane.edu/%7Ekmclenna>
>
> /SCS in Second Life - //http://sites.google.com/site/scs3dlearn/
> <https://ent.tulane.edu/exchweb/bin/redir.asp?URL=https://ent.tulane.edu/exchweb/bin/redir.asp?URL=http://sites.google.com/site/scs3dlearn>
> /Facebook Pages - Online Learning @ Tulane's School of Continuing
> Studies & Tulane Virtual Worlds Forum/
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
remove the " from llLoadURL(llDetectedKey(0),message, URL"); and that
will fix it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20101125/3ae32d0b/attachment.html>
More information about the Opensim-users
mailing list