OOC Colors

From City of Hope MUSH
Revision as of 15:03, 4 August 2020 by Eden (talk | contribs)
Jump to navigation Jump to search

Sometimes you want to stand out from the crowd. Sometimes, you just want something to be pretty! Here are some options on code for how to customize the colors for when you speak or pose OOC.


Using 16-bit color codes


Blue and White

&CODE.OOC_COLOR me=$ooc *:@emit [squish(switch(mid(%0,0,1),:, %xb%xh<<%xwOOC%xb>>%xn %N%cn [after(%0,:)],;, xb%xh<<%xwOOC%xb>>%xn %N%cn[after(%0,;)], %xb%xh<<%xwOOC%xb>>%xn %N%cn says\, "%0"))]




Cyan and White

&CODE.OOC_COLOR me=$ooc *:@emit [squish(switch(mid(%0,0,1),:, %xc%xh<%xn%xc<%xh%xwOOC%xn%xc>%xh>%xn %N%cn [after(%0,:)],;, %xc%xh<%xn%xc<%xh%xwOOC%xn%xc>%xh>%xn %N%cn[after(%0,;)], %xc%xh<%xn%xc<%xh%xwOOC%xn%xc>%xh>%xn %N%cn says\, "%0"))]




Magenta and White

&CODE.OOC_COLOR me=$ooc *:@emit [squish(switch(mid(%0,0,1),:, %xm%xh<%xn%xm<%xh%xwOOC%xn%xm>%xh>%xn %N%cn [after(%0,:)],;, %xm%xh<%xn%xm<%xh%xwOOC%xn%xm>%xh>%xn %N%cn[after(%0,;)], %xm%xh<%xn%xm<%xh%xwOOC%xn%xm>%xh>%xn %N%cn says\, "%0"))]




I do not endorse the use of the following, as I am against using @moniker at all for coloring of PC names. I feel that it is confusing to guests and new players, as they would expect the colored names to be staff. As staff has not ruled one way or another on the use of @moniker for coloring your PC name, I can only hold my own ground on my belief. As someone else added the following code to this wiki page that I developed, I will leave it for now with just this note.
Green and White w/ Moniker

&CODE.OOC_COLOR me=$ooc *:@emit [squish(switch(mid(%0,0,1),:, %xg%xh<%xwOOC%xg> [moniker(%N)] [after(%0,:)],;,%xg%xh<%xwOOC%xg> [moniker(%N)][after(%0,;)], %xg%xh<%xwOOC%xg> [moniker(%N)] says\, "%0"))]


Using the Color Cube


Red Orange and White

&CODE.OOC_COLOR me=$ooc *:@emit [squish(switch(mid(%0,0,1),:, %x<#FF0000><%x<#FF5F00><%xh%xwOOC%xn%x<#FF5F00>>%x<#FF0000>>%xn %N%cn [after(%0,:)],;, %x<#FF0000><%x<#FF5F00><%xh%xwOOC%xn%x<#FF5F00>>%x<#FF0000>>%xn %N%cn[after(%0,;)], %x<#FF0000><%x<#FF5F00><%xh%xwOOC%xn%x<#FF5F00>>%x<#FF0000>>%xn %N%cn says\, "%0"))]




Want a different color scheme? Go for it. Have fun! Paint the night!

Want help to make a new one with other colors? Contact Arielle