Created
August 6, 2017 00:30
-
-
Save MyNameIsKodos/9e8928a5b40525c5600a5b884defc2ef to your computer and use it in GitHub Desktop.
Descriptions for Channels
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
integer ID2Chan( string id ) | |
{ | |
integer mainkey = 921; | |
string tempkey = llGetSubString( ( string )id, 0, 7 ); | |
integer hex2int = ( integer )( "0x" + tempkey ); | |
return hex2int + mainkey; | |
} | |
NETWORK_CHANNEL = ID2Chan( llMD5String( llGetObjectDesc(), 0 ) ); | |
listenhandle = llListen( NETWORK_CHANNEL, "", "", "" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment