Difference between revisions of "Wizhelp/Set"

From DikuMUD Wiki
Jump to navigation Jump to search
(Created page with "= Set = Usage: > set <unit> <field> <arguments> This is the command you use, if you want to fiddle with individual fields in a unit. As there are a LOT of fields to set, i...")
 
 
(One intermediate revision by the same user not shown)
Line 30: Line 30:
 
   > set rabbit add-name killer rabbit, carrot muncher
 
   > set rabbit add-name killer rabbit, carrot muncher
 
   > set papi add-info $professions,barbarian,dark knight,necromancer;1,2,3
 
   > set papi add-info $professions,barbarian,dark knight,necromancer;1,2,3
 +
  > set john del-extra ,    // This example removes the an empty name, i.e. the default description
 +
  
 
Combinations of the above occur.
 
Combinations of the above occur.

Latest revision as of 05:04, 15 April 2023

Set

Usage:

 > set <unit> <field> <arguments>

This is the command you use, if you want to fiddle with individual fields in a unit. As there are a LOT of fields to set, i will not list them here. The command will list them, if you just give a unit name. However it is essential, that you understand the argument types.

 <value> : a value. beware not to enter a number out of range.
 <type> : a type. to list possible types give it an 'X' as type
 <string> : a single string.
    (enter description): this gives you the multi-line editor.
    End with a '@' on a single line.
 <unitpath>: a 'path' to the unit, specifying its zonename and itemname.
 <keyword> : a single keyword.
 <direction> : direction can be any of the six: n s e w u d
 <bitlist> : a list of bitnames. nothing indicates no set bits.
             separate bitnames with a single '|'.

For add-name and xxxdirection info:

  <names> is a comma separated list of values e.g. city guard, guard

For extra data (add-extra, add-info, add-quest):

  <names>;<ints> first a comma separated list of names, optionally a semicolon 
                 followed by a comma separated list of integers.

Examples:

 > set rabbit add-name killer rabbit, carrot muncher
 > set papi add-info $professions,barbarian,dark knight,necromancer;1,2,3
 > set john del-extra ,     // This example removes the an empty name, i.e. the default description


Combinations of the above occur.

See also:

 > wizhelp setskill
 > wizhelp wstat
 > wizhelp wstat