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
coldcut
Beginner


Joined: 09 Apr 2003
Posts: 17
Location: USA

PostPosted: Fri Oct 17, 2003 5:40 pm   

Avatar color script
 
A few notes for this: This script will recolor a lot of the default Avatar colors to custom colors..I wrote the script for a buddy who can't play Avatar because his eyes are going bad and the default colors either hurt or blend into the background. Also if you wish to change some of the colors just change the color name such as cyan, red, green etc. for each line of script...windows has a replace function on wordpad that can speed that up.
The commands before the #class avatarcolors line are just some preferences I like including my prompt . If you want even MORE colors check out http://www.geocities.com/happyjoe268/ Lots of useful stuff including some nice color triggers posted by Amezyarak. I've included a couple of his color trigs, with modifications to blend into my script. And if you like the default colors but just want it brighter you can use #trigger {%*} {#highlight}.

channel change ask hblue
channel change auction hblue
channel change chat hyellow
channel change quest hblue
channel change shout hblue
channel change yell hblue
channel change buddy hyellow
channel change tell hred
channel change reply hred
prompt |BP|[|BR|%p|BP|] |BR|%h/|BC|%Hhp |BR|%m/|BC|%Mmana
prompt2 |N| |BR|%v/|BC|%Vmv |BY|MON|BR|-%w|BC|/|BR|%P %n

#class avatarcolors

#trigger {%*} {#highlight}

#trigger {-----------------------------} {#color 12}
#trigger {Your attack} {#cw 13}
#trigger {Your attacks} {#cw 13}
#trigger {Your attack hasn't hurt} {#cw 13}
#trigger {Your attacks haven't hurt} {#cw 13}
#trigger {strike you} {#cw 13}
#trigger {strikes you} {#cw 13}
#trigger {screams(%*)attacks} {#color 12}
#trigger {glares(%*)snarls} {#color 12}
#trigger {(%*)says '} {#cw 12}
#trigger {(%*)asks '} {#cw 12}
#trigger {has fled} {#color 12}
#trigger {~<nothing~>} {#cw 12}
#trigger {hasn't hurt you} {#cw 13}
#trigger {haven't hurt you} {#cw 13}
#trigger {That really did HURT!} {#color 12}
#trigger {~*} {#cw 10}
#trigger {~*~*} {#cw 10}
#trigger {~*~*~*} {#cw 10}

#trigger {~<used as light~>} {#cw 11}
#trigger {~<worn on finger~>} {#cw 11}
#trigger {~<worn on finger~>} {#cw 11}
#trigger {~<worn around neck~>} {#cw 11}
#trigger {~<worn around neck~>} {#cw 11}
#trigger {~<worn on body~>} {#cw 11}
#trigger {~<worn on head~>} {#cw 11}
#trigger {~<worn on legs~>} {#cw 11}
#trigger {~<worn on feet~>} {#cw 11}
#trigger {~<worn on hands~>} {#cw 11}
#trigger {~<worn on arms~>} {#cw 11}
#trigger {~<held in offhand~>} {#cw 11}
#trigger {~<worn about body~>} {#cw 11}
#trigger {~<worn about waist~>} {#cw 11}
#trigger {~<worn on wrist~>} {#cw 11}
#trigger {~<worn on wrist~>} {#cw 11}
#trigger {~<wielded~>} {#cw 11}
#trigger {~<held~>} {#cw 11}

#trigger {~[Pristine ~](%*)} {#cw 10}
#trigger {~[Excellent ~](%*)} {#cw 10}
#trigger {~[Fine ~](%*)} {#cw 10}
#trigger {~[Good ~](%*)} {#cw 10}
#trigger {~[Average ~](%*)} {#cw 22}
#trigger {~[Used ~](%*)} {#cw 22}
#trigger {~[Worn ~](%*)} {#cw 22}
#trigger {~[Battered ~](%*)} {#cw 22}
#trigger {~[Poor ~](%*)} {#cw 22}
#trigger {~[Shoddy ~](%*)} {#cw 12}
#trigger {~[Damaged ~](%*)} {#cw 12}
#trigger {~[Broken ~](%*)} {#cw 12}
#trigger {~[Slagged ~](%*)} {#cw 12}
#trigger {~[Destroyed ~](%*)} {#cw 12}


#TRIGGER {(%*) attack[s ]strike[s ](%*) (%d) time[s, ]with[* ](%w)[* ](%w)[!.]} {#TEMP {%3} {#cw 13};#TEMP {%4} {#cw 13};#TEMP {%5} {#cw 13}} {color}
#TRIGGER {You(%*)kick(%*)with[* ](%w)[* ](%w)[!.]} {#TEMP {%3} {#cw 13};#TEMP {%4} {#cw 13}}

#class 0
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Nov 17, 2003 6:01 pm   
 
#trigger {%*} {#highlight}
You don't need this trigger. If EVERYTHING is going to be highlighted it would be simpler and require less processing to just change the colors you use in Preferences.
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