Difference between revisions of "Simple Coordinate Plane"
Jump to navigation
Jump to search
Project Neox (talk | contribs) |
Project Neox (talk | contribs) |
||
Line 6: | Line 6: | ||
=== The Script === | === The Script === | ||
<lsl> | |||
// Project Neox was here. | // Project Neox was here. | ||
integer key2Hex(key id) { | integer key2Hex(key id) { | ||
integer f = (integer)("0x" + (string) id); | integer f = (integer)("0x" + (string) id); | ||
Line 13: | Line 13: | ||
return f; | return f; | ||
} | } | ||
</lsl> |
Revision as of 16:18, 8 April 2010
Description
Well, I've figured out a more effective way of using the UUID2Channel method, you know. The one where you put a hexadecimal prefix infront of a person's UUID.
The Script
<lsl> // Project Neox was here. integer key2Hex(key id) {
integer f = (integer)("0x" + (string) id); if(f > 0) f = f * -1; return f;
} </lsl>