Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scripting features in 1.2

Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
12-16-2003 14:45
From: someone
integer llScriptDanger(vector pos): Returns true if pos is over public land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts


Would it be possible for this to be more specific? My birds, for example, don't care about land being no-build or no-edit, but need to avoid no-script land.
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
12-16-2003 14:49
I would like 1 more button for the scriptable dialogue. Just one. Please. I mean, who ever heard of 4 card poker? :D
_____________________
--
010000010110110101100001001000000100111101101101011001010110011101100001
--
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
12-16-2003 22:04
\n

PLEASE! :D Hehehe. Can we get \n to work in the dialogue window? Not for the buttons, but for the chat? Thanks!
_____________________
--
010000010110110101100001001000000100111101101101011001010110011101100001
--
Kex Godel
Master Slacker
Join date: 14 Nov 2003
Posts: 869
Re: Scripting features in 1.2
12-17-2003 08:51
From: someone
Originally posted by Carnildo Greenacre
Would it be possible for this to be more specific? My birds, for example, don't care about land being no-build or no-edit, but need to avoid no-script land.


Good point. It could return a bitwise integer, so you could compare it with & operator and one or more constants.

Best to implement now before any scripts are written to rely on the current boolean return value =D
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
12-17-2003 13:06
Go ahead and write them on the boolean version. If any of the bitwise constants is set in the return value, testing as if it's a boolean return will work (assuming you don't do something stupid like testing for equality with TRUE).
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'