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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Fri Apr 24, 2009 4:07 pm   

[3.06] Styles
 
Nice job on the styles. And it works as I hoped. If I add a style to a package I distribute, a user can override it simply by creating a style with the same name in his main session package. Excellent!

May I assume that we will eventually see something like a %style() which acts like %ansi()?
I also assume that help pages for #style and #nostyle will appear before the public release.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Apr 24, 2009 7:39 pm   
 
Yep, help pages for all of the new commands will be added before the public release.

Styles need to be properly closed, so rather than using something like %style, it will probably be an MXP syntax. Currently, CMUD has a syntax like <STYLE nnn>text</STYLE> where nnn is a style number. I just need to modify this existing code to allow a user-defined style name. So that's probably how I will handle it.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Sat Apr 25, 2009 6:37 pm   
 
Excellent! I wasn't sure you could get it to work with MXP without modifying the standard.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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