Talk:Read Note Card Configuration
Observations
- if(llSubStringIndex(data, "#") != 0) <<== This involves a byte-by-byte search for '#', even if none exists. Better to examine the first byte only, but do a STRING_TRIM first
- notecardQueryId = llGetNotecardLine(configurationNotecardName, ++line); <<== this can be done earlier in the dataserver event, to gain time from background processing by the server
- string name = llGetSubString(data, 0, i - 1); <<== confusing choice of data name for this application, which is processing avatar names
- There's no point having a user defined function that is only called once. In fact both UDF's can easily be avoided, providing savings in script size.
Omei Qunhua 03:48, 17 December 2013 (PST)