Manual:DIL Manual/spellindex()

From DikuMUD Wiki
< Manual:DIL Manual
Revision as of 13:08, 27 May 2020 by Nove (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


integer spellindex(s : string)
   s  : The abbreviated or full spell name
   Returns: -1 if no such spell, otherwise it returns the spell index
            for that spell.
   Example:
      s := "cu li wo"; /* cure light wounds */
      i := spellindex(s);
---~---~---~---~---~---~---~---~---