Difference between revisions of "Manual:DIL Manual/dilcopy()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
= dilcopy( s : string, u : unitptr ) =
+
<span id="bpdc"></span>
 +
dilcopy( s : string, u : unitptr )
 
     s : Name template to attach to unit.
 
     s : Name template to attach to unit.
 
     u : Unit to attach a dil program to.
 
     u : Unit to attach a dil program to.
     result: Attaches a DIL program to a unit 'u', which uses a template named by 's'.
+
     result: Attaches a DIL program to a unit 'u', which uses a template
 +
            named by 's'.
  
Examples:
+
---~---~---~---~---~---~---~---~---
  dilcopy("master_servant@spells()", u);
+
<span id="bpdc"></span>
  dilcopy("spl_sleep@spells(7)", tgt);
+
dilcopy( s : string, u : unitptr )
  dilcopy("sendmsg@spells(teleport)", targ);
+
    s : Name template to attach to unit.
 +
    u : Unit to attach a dil program to.
 +
    result: Attaches a DIL program to a unit 'u', which uses a template
 +
            named by 's'.
 +
 
 +
---~---~---~---~---~---~---~---~---

Latest revision as of 22:31, 4 December 2025

dilcopy( s : string, u : unitptr )
   s : Name template to attach to unit.
   u : Unit to attach a dil program to.
   result: Attaches a DIL program to a unit 'u', which uses a template
           named by 's'.
---~---~---~---~---~---~---~---~---

dilcopy( s : string, u : unitptr )
   s : Name template to attach to unit.
   u : Unit to attach a dil program to.
   result: Attaches a DIL program to a unit 'u', which uses a template
           named by 's'.
---~---~---~---~---~---~---~---~---