Difference between revisions of "User:Free Portal/Sandbox/ko"
< User:Free Portal | Sandbox
Jump to navigation
Jump to search
Free Portal (talk | contribs) m |
Free Portal (talk | contribs) m (→DEBUG) |
||
Line 26: | Line 26: | ||
string DEBUG(string msg) { | string DEBUG(string msg) { | ||
if (DEBUG) | if (DEBUG) | ||
llOwnerSay("__" + llGetObjectName() + " :: " + llGetScriptName() + " :: " + msg | llOwnerSay("__" + llGetObjectName() + " :: " + llGetScriptName() + " :: " + msg | ||
}</lsl> | }</lsl> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 19:21, 9 March 2010
SandBox
사용도 높은 간단한 사용자 정의 함수 모음집
searchReplace
문자열에서 단어를 치환 하여 반환하는 함수. <lsl>string searchReplace(string input, string old, string new) {
return llDumpList2String(llParseString2List(input, [old], []), new);
}</lsl>
DEBUG
디버그 메시지를 출력하는 함수. <lsl>integer debug = TRUE;
string DEBUG(string msg) {
if (DEBUG) llOwnerSay("__" + llGetObjectName() + " :: " + llGetScriptName() + " :: " + msg
}</lsl>