I have placed children() inside a function called lkids... located on an object set wizard. Unless wrapped with objeval() children() will not work as a function under p6 while under @function.
Function Library(#25TWbn)
Type: THING Flags: WIZARD DEBUG NO_COMMAND
Owner: One(#1PUWAC) Zone: *NOTHING* Pennies: 10
Parent: *NOTHING*
Powers: Functions See_All
Warnings checked:
Created: Mon Jul 14 20:35:41 2008
Last Modification: Fri Jul 18 11:54:52 2008
DEBUGFORWARDLIST #4$i: #4
FUN #1`:
FUN`LKIDS #4: objeval(%#,children(%0))
STARTUP #1$: @dolist lattr(%!/FUN**)=@function after(##,FUN)=%!,##
Home: Game Room(#16RnJ)
Location: One(#1PUWAC)
@function Report:
Function Name Dbref # Attrib
LKIDS 25 FUN`LKIDS