Adds a previously missing helper function
This commit is contained in:
parent
83502bc972
commit
38a6a20846
2 changed files with 31 additions and 0 deletions
|
@ -223,3 +223,21 @@ string SetDSMeta(list lTmp){
|
|||
list GetMetaList(key kID){
|
||||
return llParseStringKeepNulls(GetDSMeta(kID), [":"],[]);
|
||||
}
|
||||
|
||||
|
||||
key decodeAvatarInput(string sInput, string sExtra)
|
||||
{
|
||||
if(IsLikelyAvatarID(sInput))
|
||||
{
|
||||
return (key)sInput;
|
||||
}else {
|
||||
list lParts = llParseString2List(sInput, ["/"],[]);
|
||||
if(llList2String(lParts,0) == "secondlife:")
|
||||
{
|
||||
return (key)llList2String(lParts,3);
|
||||
}else {
|
||||
UpdateDSRequest(NULL_KEY, llRequestUserKey(sInput), SetDSMeta(["decodeAvatar", sInput, sExtra]));
|
||||
return NULL_KEY;
|
||||
}
|
||||
}
|
||||
}
|
13
src/scripts/README.md
Normal file
13
src/scripts/README.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
Scripts Installation Instructions
|
||||
======
|
||||
|
||||
|
||||
Remove all DHB Scripts, minus the BoSH script.
|
||||
|
||||
1. Install `Access [AC]`
|
||||
3. Install `Dialog Module [AC]`
|
||||
4. Install `Leash [AC]`
|
||||
5. Install `Menu [AC]`
|
||||
6. Install `Settings Engine [AC]`
|
||||
|
||||
Any further files should be added based on features desired, and product type.
|
Loading…
Reference in a new issue