Adds missing MakeIndent function to next engine

This commit is contained in:
zontreck 2024-08-04 15:48:18 -07:00
parent b744b7b923
commit 4a5aa07e57

View file

@ -85,6 +85,19 @@ DEBUG(string sMsg) {
llOwnerSay(MakeIndent() + " > " + sMsg);
}
string MakeIndent()
{
integer i = 0;
string sIndent = "";
for(i = 0;i<g_iDebugIndent;i++){
sIndent += " ";
}
return "[" + llGetScriptName() + "] " + sIndent;
}
string SLURL(key kID){
return "secondlife:///app/agent/"+(string)kID+"/about";
}