Multiple Note Styles on the same line

Posted by AdInfinitum on Sun 22 Nov 2015 08:17 AM — 5 posts, 22,038 views.

#0
I know of NoteStyle(), but as far as I can tell, that is a line-by-line situation. What I'm looking for is something that will display the following:

bold text italics bold text

on one line.

Is there such a function available, or at least a the ability to pull off such a stunt? I know in z/CMUD I was able to use html tags, but I'm unaware of it being an option here. Thank you!
Australia Forum Administrator #1
You can use AnsiNote in conjunction with ANSI to do that:

Template:function=AnsiNote
AnsiNote

The documentation for the AnsiNote script function is available online. It is also in the MUSHclient help file.



Template:function=ANSI
ANSI

The documentation for the ANSI script function is available online. It is also in the MUSHclient help file.

Australia Forum Administrator #2
You could also use NoteStyle in conjunction with Tell (or ColourTell) to change the style for part of the line.
#3
Perfect. I'd forgotten about ColourTell, though I didn't even know NoteStyle would work that way. I prefer ColourTell/NoteStyle because I'm using HTML colors for a themed-display of stats.

Thanks!
Australia Forum Administrator #4
Glad I could help. All output is done as style runs, there is no style in particular for a whole line. Thus it is possible to change the colour, bold, italic, etc. for every letter if you wanted to.