In my experience there's no guarantee that a script that works in SL will work in opensim. Also as other have mentioned, making sure the very first line of the script in opensim is blank is very important.<div><br></div>
<div>My team has spent some time trying to vet the scripts that we use frequently and make the necessary changes to ensure they also work in opensim, feel free to grab them at <a href="http://fleep.wikispaces.com/Scripts">http://fleep.wikispaces.com/Scripts</a> - the ones marked (OS) have been tested to work in opensim.</div>
<div><br></div><div>If you want to grab specific categories of scripts or otherwise avoid all the copying and pasting, I also have iar files available at <a href="http://fleepgrid.com/store/">http://fleepgrid.com/store/</a>.</div>
<div><br></div><div><br></div><div>- Chris/Fleep</div><div><br></div><div><br></div><div>Chris M. Collins (SL: Fleep Tuque)</div><div>Project Manager, UC Second Life </div><div>Second Life Ambassador, Ohio Learning Network </div>
<div>UCit Instructional & Research Computing</div><div>University of Cincinnati </div><div>406E Zimmer Hall</div><div>PO Box 210088</div><div>Cincinnati, OH 45221-0088</div><div>(513)556-3018</div><div><a href="mailto:chris.collins@uc.edu">chris.collins@uc.edu</a></div>
<div><br></div><div>UC Second Life: <a href="http://homepages.uc.edu/secondlife">http://homepages.uc.edu/secondlife</a></div><div>OLN Second Life: <a href="http://www.oln.org/emerging_technologies/emtech.php">http://www.oln.org/emerging_technologies/emtech.php</a></div>
<div><br></div><div><br><br><div class="gmail_quote">On Tue, May 17, 2011 at 6:42 AM, Garmin Kawaguichi <span dir="ltr"><<a href="mailto:garmin.kawaguichi@magalaxie.com">garmin.kawaguichi@magalaxie.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff">
<div><font size="2" face="Arial">Don't forget to add an empty line at the beginning
of the script as in the example below </font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">GCI</font></div><div><div></div><div class="h5">
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px">
<div style="font:10pt arial">----- Original Message ----- </div>
<div style="font:10pt arial;background:#e4e4e4"><b>From:</b>
<a title="mclennan.kay@gmail.com" href="mailto:mclennan.kay@gmail.com" target="_blank">Kay
McLennan</a> </div>
<div style="font:10pt arial;background:#e4e4e4"><strong></strong> </div>
<div>//<br>//"Teleport Script NEW" by Rupudiator quann<br>key lastAVkey =
NULL_KEY;<br>string fltText = "Next Floor";<br>vector dest =
<109.000,115.000,42.625>; // X Y Z coordinates</div>
<div>init()<br>{<br>
llSetSitText("Teleport");<br>
llSetText(fltText, <1,1,1>,
1);<br> llSitTarget(dest-llGetPos(),
<0,0,0,1>);<br>}</div>
<div>default<br>{<br> state_entry()<br>
{<br>
init();<br> }<br> touch_start(integer
i)<br> {<br>
init();<br> }<br> changed(integer
change)<br> {<br>
key currentAVkey =
llAvatarOnSitTarget();<br> if
(currentAVkey != NULL_KEY && lastAVkey ==
NULL_KEY)<br>
{<br>
lastAVkey = currentAVkey;
<br> if
(!(llGetPermissions() & PERMISSION_TRIGGER_ANIMATION))
<br>
llRequestPermissions(currentAVkey,PERMISSION_TRIGGER_ANIMATION);<br>
llSleep(0.5);<br>
llUnSit(currentAVkey);<br>
llStopAnimation("sit");<br>
llResetScript();<br>
}<br> }<br>}</div>
<div><br> </div></blockquote></div></div></div>
<br>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
<br></blockquote></div><br></div>