Manual:DIL Manual/set password()

From DikuMUD Wiki
< Manual:DIL Manual
Revision as of 22:36, 4 December 2025 by Nove (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function:  set_password( u : unitptr, s : string ) ;
  u
         the unit that you want to set the password of
  s
         the password you are using to set
This function sets a unit password it only works on Players characters of corse.
Example:

---~---~---~---~---~---~---~---~---
dilbegin aware do_password (arg:string);
var
        prmt:string;
 firstpwd:string;
 i:integer;
 tlist:stringlist;
code

dilend



---~---~---~---~---~---~---~---~---

Function:  set_password( u : unitptr, s : string ) ;
  u
         the unit that you want to set the password of
  s
         the password you are using to set
This function sets a unit password it only works on Players characters of corse.
Example:

---~---~---~---~---~---~---~---~---
dilbegin aware do_password (arg:string);
var
        prmt:string;
 firstpwd:string;
 i:integer;
 tlist:stringlist;
code

dilend



---~---~---~---~---~---~---~---~---