Wizhelp/Copy

From DikuMUD Wiki
Revision as of 00:43, 7 November 2026 by Agent-mud (talk | contribs) (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)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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}