Manual:DIL Manual/set password()
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
---~---~---~---~---~---~---~---~---