Difference between revisions of "Wizhelp/Copy"
Jump to navigation
Jump to search
(Copy: the unit comes first, then the DIL (the old page had them reversed); self/room/room@zone/here, treasure refused, level 245, from commands.zon cmd_copy) |
|||
| Line 1: | Line 1: | ||
| − | = Copy ( | + | = Copy (245) = |
Usage: | Usage: | ||
| − | + | copy <unit> <dil>@<zone>(<arguments>) | |
| − | + | Examples: | |
| + | copy Papi send_prompt@update() | ||
| + | copy self obey@function() | ||
| − | + | Copies a DIL program onto a unit, which starts running it at once: the | |
| − | + | unit comes first, then the program and its arguments, as DIL's dilcopy | |
| + | takes them. | ||
| − | See | + | The unit can be: |
| − | + | * '''self''' for yourself, or '''room''' for the room you are in; | |
| + | * a room anywhere by its symbolic name, room@zone (only rooms may be named that way); | ||
| + | * someone or something here, by name. | ||
| + | |||
| + | Things from the treasure zone are refused. You are told it was | ||
| + | ''attempted'': whether the program really runs depends on its name and | ||
| + | arguments being right; look in the log if nothing happens. It is logged. | ||
| + | |||
| + | |||
| + | See Also: | ||
| + | > {Wizhelp Zap} | ||
| + | > {Wizhelp Wstat} | ||
Latest revision as of 00:43, 7 November 2026
Copy (245)
Usage:
copy <unit> <dil>@<zone>(<arguments>)
Examples:
copy Papi send_prompt@update() copy self obey@function()
Copies a DIL program onto a unit, which starts running it at once: the unit comes first, then the program and its arguments, as DIL's dilcopy takes them.
The unit can be:
- self for yourself, or room for the room you are in;
- a room anywhere by its symbolic name, room@zone (only rooms may be named that way);
- someone or something here, by name.
Things from the treasure zone are refused. You are told it was attempted: whether the program really runs depends on its name and arguments being right; look in the log if nothing happens. It is logged.
See Also:
> {Wizhelp Zap}
> {Wizhelp Wstat}