Its a good idea to have a function that test if a osl function is available to 
a owner in a specific location. 

For now there is a way to test for osl function scriptwise. A failing osl 
function cause a crash of the event calling it.  So what I do is on state_entry 
I call a timer with a fake call to all the OSL function(s) to be use in my 
scripts . If the timer failes it means that one or any of the function I need 
is not allowed . And the script simply spell out to the owner of that object 
that it cant be use and abort.  So at least it does not repeatedly spam the 
region . 

I will post an example of the script I use in my user page in opensim if you 
like more detail.  (http://opensimulator.org/wiki/User:Gimisa) . With your 
function you might be able to detect the failure of the osl function call  
instead of sending it to report inworld and act by sending back a message to 
the script for action. Allowing me to use the reply in any way I need instead 
of using timer failure. 

hope it helps
GiMiSa
_______________________________________________
Opensim-dev mailing list
Opensim-dev@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev

Reply via email to