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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Drahkuna
Beginner


Joined: 15 Apr 2005
Posts: 15
Location: MO

PostPosted: Wed Sep 07, 2005 8:50 pm   

Help with %selline
 
Code:

#CLASS {autoColor} {menu}
#VAR currentcolor {}
#ALIAS co {#show %ansi(%1)%1}
#ALIAS colorit {#co %selline @currentcolor}
#MENU {"Define Currentcolor Variable"} {                                     #pr currentcolor "ANSI Code or Color Name"
 colorit
 } ""
#CLASS 0
#MENU "Color Line" {} "" "AutoColor"
 

What would be the quickest way I could color the selected line and not have that line stripped (uncolored) each time I choose a new line? I've tried variables - didn't work for me -, and I've got the feeling there's a really simple solution for this, but it just won't come to me. Any help would be appreciated.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion 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