<div dir="ltr">hello<br><br>I think it will be wise to implement a new LSL state called OSGrid that will be called everytime a script is run under any OSGrid environment.<br><br>Why do we need that ? <br>We need that system to know on wich environment the script is working and exit nicely if needed.<br>
<br>This state should be called like the usual default state ONLY under osgrid. It will avoid script crashing nicely.<br><br><br>As usual, this idea is open to comment.<br><br>SM<br>sample:<br><br><br><br><br>default<br>int ok;<br>
{<br> state_entry()<br> {<br> llSay(0, "Hello, Avatar!");<br> }<br> <br> touch(integer total_number)<br> {<br> llSay(0, "Touched.");<br> if (ok ==0) { <br> llSay(0,"Sorry, OSgrid only");<br>
}<br> }<br>}<br><br>state OSGrid {<br> ok=1;<br> llSay(0,"We are under OS...");<br>}<br><br>}<br></div>