Difference between revisions of "Manual:DIL Manual/changecolor()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="bpchangecolor"></span>
  
 +
'''Function:  '''<i><!--CODE-->changecolor (ch : unitptr, ks : string, cstr : string ) ;</i><!--ENDCODE-->
  
 +
<!--TERM-->  '''ch'''
 +
<!--DEFINITION-->        character you are changing the color on
 +
<!--TERM-->  '''ks'''
 +
<!--DEFINITION-->        key string for the color
 +
<!--TERM-->  '''cstr'''
 +
<!--DEFINITION-->        color string
 +
 +
This will change a color in a players personal list.
 +
'''Function:  '''<i><!--CODE-->changecolor(pc, "clan_who","&amp;c+w&amp;bn");</i><!--ENDCODE-->
 
<span id="bpchangecolor"></span>
 
<span id="bpchangecolor"></span>
  

Latest revision as of 22:33, 4 December 2025

Function:  changecolor (ch : unitptr, ks : string, cstr : string ) ;
  ch
         character you are changing the color on
  ks
         key string for the color
  cstr
         color string
This will change a color in a players personal list.
Function:  changecolor(pc, "clan_who","&c+w&bn");

Function:  changecolor (ch : unitptr, ks : string, cstr : string ) ;
  ch
         character you are changing the color on
  ks
         key string for the color
  cstr
         color string
This will change a color in a players personal list.
Function:  changecolor(pc, "clan_who","&c+w&bn");