Difference between revisions of "Manual:DIL Manual/set password()"
Jump to navigation
Jump to search
(XML import) |
(XML import) |
||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
<span id="bpsetpassword"></span> | <span id="bpsetpassword"></span> | ||
| Line 24: | Line 22: | ||
code | code | ||
| − | + | dilend | |
| + | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ---~---~---~---~---~---~---~---~--- | |
| − | + | ||
| + | </i><!--ENDCODE--> | ||
| + | <span id="bpsetpassword"></span> | ||
| + | |||
| + | '''Function:''' <i><!--CODE-->set_password( u : unitptr, s : string ) ;</i><!--ENDCODE--> | ||
| + | |||
| + | <!--TERM--> '''u''' | ||
| + | <!--DEFINITION--> the unit that you want to set the password of | ||
| + | <!--TERM--> '''s''' | ||
| + | <!--DEFINITION--> the password you are using to set | ||
| + | |||
| + | This function sets a unit password it only works on Players characters of corse. | ||
| + | '''Example:''' | ||
| + | <i><!--CODE--> | ||
| + | ---~---~---~---~---~---~---~---~--- | ||
| + | |||
| + | dilbegin aware do_password (arg:string); | ||
| + | var | ||
| + | prmt:string; | ||
| + | firstpwd:string; | ||
| − | + | i:integer; | |
| − | + | tlist:stringlist; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | code | |
| − | + | dilend | |
| − | |||
Latest revision as of 22:36, 4 December 2025
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
---~---~---~---~---~---~---~---~---