Difference between revisions of "Template:Darwin's Scripts"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 5: Line 5:
<div style="padding: 0.5em">
<div style="padding: 0.5em">
The script below will give the width of the screen in meters by touching anywhere on the visible face, given that the prim is a box with zero rotation and attached at one of the corner HUD attachment points.
The script below will give the width of the screen in meters by touching anywhere on the visible face, given that the prim is a box with zero rotation and attached at one of the corner HUD attachment points.
<lsl>default
<mono>default
{
{
     touch_start(integer total_number)
     touch_start(integer total_number)
Line 18: Line 18:
         llOwnerSay((string)screen_width);
         llOwnerSay((string)screen_width);
     }
     }
}</lsl></div></div>
}</mono></div></div>
  | date difference = <div id="box">
  | date difference = <div id="box">
==Date Difference==
==Date Difference==

Revision as of 09:56, 29 November 2008

Usage

{{Darwin's Scripts|script name}}

Returns lsl scripts in a div box with descriptions

Contents:

  • find screen width (1)
  • color picker (2)
  • date difference (1)
  • uv button maker (2)

Templates List

List of all wiki templates