Skip to content

Manual:DIL Manual spellindex()

iamnove edited this page Jul 6, 2022 · 51 revisions


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);
---~---~---~---~---~---~---~---~---
Clone this wiki locally