Add more common code

This commit is contained in:
zontreck 2024-08-13 20:30:53 -07:00
parent b32b75967e
commit 4b9e19425a
2 changed files with 15 additions and 8 deletions

View file

@ -257,6 +257,7 @@ string Uncheckbox(string sLabel)
string SLURL(key kID){
return "secondlife:///app/agent/"+(string)kID+"/about";
}
string OSLURL(key kID)
{
return llKey2Name(kID); // TODO: Replace with a SLURL of some kind pointing to the object inspect.
@ -316,6 +317,7 @@ DeleteDSReq(key ID){
string MkMeta(list lTmp){
return llDumpList2String(lTmp, ":");
}
string SetMetaList(list lTmp){
return llDumpList2String(lTmp, ":");
}
@ -351,6 +353,7 @@ string int2Perms(integer perm)
output += "none";
return output;
}
string inv2Perms(string inventory, integer iMask)
{
integer perm = llGetInventoryPermMask(inventory,iMask);