Difference between revisions of "UUID2Channel"
Jump to navigation
Jump to search
Project Neox (talk | contribs) |
Web Gearbox (talk | contribs) |
||
Line 9: | Line 9: | ||
<lsl> | <lsl> | ||
// Project Neox was here. | // Project Neox was here. | ||
// Web Gearbox was here too | |||
integer key2Hex(key id) { | integer key2Hex(key id) { | ||
return -llAbs((integer)("0x" + (string) id)); | |||
} | } | ||
</lsl> | </lsl> |
Revision as of 08:30, 25 June 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. Always generates negative integers, for safety.
The Script
<lsl> // Project Neox was here. // Web Gearbox was here too
integer key2Hex(key id) {
return -llAbs((integer)("0x" + (string) id));
} </lsl>