Difference between revisions of "Template:LSL Function/notecard"

From Second Life Wiki
Jump to navigation Jump to search
m (New page: {{LSL_Function/inventory|{{{1|name}}}|uuid={{{uuid|}}}|type=notecard}}{{#if: {{#vardefine:caveats|{{#var:caveats}} * If '''{{LSL Param|{{{1|name}}}}}''' is a new empty notecard (never sav...)
 
m (Fix parentheses)
Line 3: Line 3:
{{#vardefine:caveats|{{#var:caveats}}
{{#vardefine:caveats|{{#var:caveats}}
* If '''{{LSL Param|{{{1|name}}}}}''' is a new empty notecard (never saved) then an error will be shouted{{Footnote|This happens because the inventory item that is the notecard lacks an asset (which is created when the notecard is saved).}}.
* If '''{{LSL Param|{{{1|name}}}}}''' is a new empty notecard (never saved) then an error will be shouted{{Footnote|This happens because the inventory item that is the notecard lacks an asset (which is created when the notecard is saved).}}.
** "Couldn't find notecard ~NAME~" ~NAME~ being the value of '''{{LSL Param|{{{1|name}}}}}''')
** "Couldn't find notecard ~NAME~" (~NAME~ being the value of '''{{LSL Param|{{{1|name}}}}}''')
}}
}}



Revision as of 07:34, 5 May 2009


Caveats

  • If name is missing from the prim's inventory or it is not a notecard then an error is shouted on DEBUG_CHANNEL.
  • If name is a new empty notecard (never saved) then an error will be shouted[1].
    • "Couldn't find notecard ~NAME~" (~NAME~ being the value of name)

Footnotes

  1. ^ This happens because the inventory item that is the notecard lacks an asset (which is created when the notecard is saved).