User:Arumi/Colored OOC

From City of Hope MUSH
< User:Arumi
Revision as of 10:11, 31 July 2020 by Arumi (talk | contribs) (Created page with "This is my draft of an attempt to get custom colors into OOC game-wide, without breaking my logger. <code><pre> &CMD-OOC_EMIT SGP - Main Globals=$ooc *: @pemit/contents %l=[s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is my draft of an attempt to get custom colors into OOC game-wide, without breaking my logger.

&CMD-OOC_EMIT SGP - Main Globals=$ooc *: @pemit/contents %l=[setq(1,get(%#/ooc_color_1))][setq(2,get(%#/ooc_color_2))][ansi(%q1,<)][ansi(%q2,OOC)][ansi(%q1,>)] %N[switch(mid(%0,0,1),:,%b[delete(%0,0,1)],;,[delete(%0,0,1)],%bsays\, "%0")]