Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net