megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Wed Jan 08, 2003 4:36 am
color what you say or tell |
#CLASS {color}
#ALIAS colgos {#math tempsay;#loop %len( "%-1") {#if (%random( 1)=0) {#math tempsay @tempsay+%C%random( 1, 7)+%copy( "%-1", %i, 1)} {#math tempsay @tempsay+%B%random( 1, 7)+%copy( "%-1", %i, 1)}};@pretext @tempsay}
#VAR tempsay {%C1a%B1l%C1l%C2 %C7f%B6a%C4l%C6l%C2 %B7d%B6o%C6w%B6n}
#VAR pretext {we}
#TRIGGER {color (%w) (*)} {#gag;#var pretext %1;colgos %2}
#CLASS 0
This was created by Edwub for coloring his gossip text,but after i tweeked it alittle it will color anything.
You may experiance some problems as due to that it was created for a specfic mud and the color codes for the mud you play may be different. You may have to adgust it.
Cut and past to the class script of a new folder.
megamog75 |
|