At 05:54 10/12/2009, rrid Luna <[email protected]> wrote: > > if( ((c = llList2Float(time,a)) <= ticks) || > > (llGetAgentSize(d = llList2Key(users,a)) == <0.0,0.0,0.0>)) > > >the argument to if contains an assignment (c = llL...) which itself >returns either a Boolean (in the sense of "Success") or the value of >the successfully changed variable in SL-LSL and other languages. In >SL-LSL it behaves like that, and is allowed (although bad style), >but not in Opensim-LSL. > >You can rewrite it as > >c = llList2Float(time,a); >d = llList2Key(users,a); > >if (c <= ticks || llGetAgentSize(d) == <0.0 ,0.0 ,0.0>){
Thank Torrid, that does indeed fix the LSL syntax problem - in fact in a federated window script for the open source "Archer House". There are some issues with UUIDS of the various window textures to get it working properly, but that is a separate issue. _______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users
