Skip to content
Luxembourg edited this page Mar 19, 2013 · 3 revisions

@cpattr

@cpattr / = / [,/,/,...] @cpattr / = [,,,...] @cpattr = / [,/,/,...] @cpattr = [,,,...]

the first form of this command is used to copy on to the object-attribute pairs in a comma-separated list. for example:

@cpattr test/va = test/vb, cube/va, tribble/foo

would copy the va attribute from object "test" to vb on "test", va on "cube", and foo on "tribble". is matched as if you were performing a @set on it.

the second form copies to the list of objects, with the name . the third form copies from the object that executes the @cpattr, to the object-attribute pairs in the list. finally, the fourth form copies from the object that executes the @cpattr to the objects in the list, with the name .

Clone this wiki locally