[Opensim-users] recent scripting script changes?
Mike Mazur
mmazur at gmail.com
Wed Jul 30 08:29:04 UTC 2008
Hi,
On Wed, 30 Jul 2008 02:36:13 -0400
BoneZ <bonez at dogzhouse.com> wrote:
> Can anyone shed some light on what functions may have changed that
> are affecting some poseball scripts which worked before, but will no
> longer work on revision 5689?
In your script, you have an if statement with a semicolon immediately
after it:
> link_message(integer sender_num, integer num, string str, key id)
> {
> if(num == 99)
> {
> if(str == "show")
> {
> masterswitch = FALSE;
> hide();
> return;
> }
>
> if(str == "hide");
> {
> masterswitch = TRUE;
> show();
> }
> }
> }
This occurs around line 92. Removing that semicolon (which I think
is the actual intention anyway) will allow the script to compile. This
is a bug[1] in the new LSL compiler which was enabled earlier this
week[2]. But thanks for helping discover it!
Hope that helps,
Mike
[1] http://opensimulator.org/mantis/view.php?id=1865
[2]
https://lists.berlios.de/pipermail/opensim-users/2008-July/000386.html
More information about the Opensim-users
mailing list