Difference between revisions of "Manual:DIL Manual/addcolor()"
Jump to navigation
Jump to search
(XML import) |
(XML import) |
||
| Line 1: | Line 1: | ||
| + | <span id="bpaddcolor"></span> | ||
| + | '''Function: '''<i><!--CODE-->addcolor (ch : unitptr, ks : string, cstr : string ) ;</i><!--ENDCODE--> | ||
| + | <!--TERM--> '''ch''' | ||
| + | <!--DEFINITION--> character you are adding the color to | ||
| + | <!--TERM--> '''ks''' | ||
| + | <!--DEFINITION--> key string for the color | ||
| + | <!--TERM--> '''cstr''' | ||
| + | <!--DEFINITION--> color string | ||
| + | |||
| + | This function allows your Dils to create and add their own personal colors to a players | ||
| + | color list. That way you can actually make an act in a color that the player chooses or | ||
| + | you yourself choose. | ||
| + | '''Function: '''<i><!--CODE-->addcolor(pc, "clan_who","&c+w&bn");</i><!--ENDCODE--> | ||
<span id="bpaddcolor"></span> | <span id="bpaddcolor"></span> | ||
Latest revision as of 22:30, 4 December 2025
Function: addcolor (ch : unitptr, ks : string, cstr : string ) ;
ch
character you are adding the color to
ks
key string for the color
cstr
color string
This function allows your Dils to create and add their own personal colors to a players color list. That way you can actually make an act in a color that the player chooses or you yourself choose. Function: addcolor(pc, "clan_who","&c+w&bn");
Function: addcolor (ch : unitptr, ks : string, cstr : string ) ;
ch
character you are adding the color to
ks
key string for the color
cstr
color string
This function allows your Dils to create and add their own personal colors to a players color list. That way you can actually make an act in a color that the player chooses or you yourself choose. Function: addcolor(pc, "clan_who","&c+w&bn");