Difference between revisions of "User:Pete Olihenge"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with '== Random negative chat channel == This LSL code snippet should, according to my calculations, return a random negative integer in the range -2,000,000,000 to -1,000,000, suitab...')
 
(Blanked the page)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Random negative chat channel ==


This LSL code snippet should, according to my calculations, return a random negative integer in the range -2,000,000,000 to -1,000,000, suitable for use as a dialog chat channel.
<lsl>
integer GetDialogChannel ()
{
    return (integer) llFrand (-1999000001.0) - 1000000;
}
</lsl>

Latest revision as of 16:21, 1 April 2010