here's the mantis entry:<div><br></div><div><a href="http://opensimulator.org/mantis/view.php?id=5930">http://opensimulator.org/mantis/view.php?id=5930</a> </div><div><br></div><div>--mic</div><div><br><br><div class="gmail_quote">
On Tue, Mar 13, 2012 at 9:22 AM, Mic Bowman <span dir="ltr"><<a href="mailto:cmickeyb@gmail.com">cmickeyb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
PMint,<div><br></div><div>I just posted a patch to mantis for an *experimental* feature that enables invocation of functions defined by a region module. In your region module you register a binding for a function with the ScriptWorldComms module and then you can use in your script either a call like:</div>


<div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>string result = modInvoke("myRMfunction",12,"abc");</div></blockquote><div><br></div>or you can make the calls directly</div><div>


<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>string result = myRMfunction(12,"abc");</div></blockquote><div><br></div>the LSL compiler just translates the second form into the first on your behalf.<br>


<br>there is some instruction in the mantis entry with the patch (i can't get to mantis right now, i'll post the link when its back up). and once the code settles a little (still have some modifications to make for the return type), i will put together more complete documentation.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>--mic</div><div><br></div></font></span><div><br><div class="gmail_quote"><div><div class="h5">On Mon, Mar 12, 2012 at 3:11 PM, Per Mint <span dir="ltr"><<a href="mailto:pmint6@gmail.com" target="_blank">pmint6@gmail.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div>Justin, Mic,</div>
<div> </div>
<div>Thanks, I understand better. I will use modSendCommand() for now.</div>
<div> </div>
<div>Best,</div>
<div>PMint.</div>
<br></div></div><div class="im">_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de" target="_blank">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>