From WikiChip
Editing mirc/identifiers/$wrap
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
== Synopsis == | == Synopsis == | ||
− | <pre>$wrap(text,font,size,width | + | <pre>$wrap(text,font,size,width,bNiNpNtNwN,N)</pre> |
== Parameters == | == Parameters == | ||
Line 14: | Line 14: | ||
* '''width''' - The width at which the text should wrap | * '''width''' - The width at which the text should wrap | ||
− | + | Before, the 4th parameter was only a one true/false value parameter to enable word wrapping, it's now a set of options to go with $width and $height: | |
− | * '''bNiNpNtN''' - Optional | + | * '''bNiNpNtN''' - Optional, defines some options for the measurement, N can be 1 or 0 to enable or disable the option: |
− | ** '''bN''' enables/disables | + | ** '''bN''' enables/disables bold |
− | ** '''iN''' enables/disables | + | ** '''iN''' enables/disables italic |
− | ** '''pN''' enables/disables control | + | ** '''pN''' enables/disables control code (-bi not needed there) |
− | ** '''tN''' enables/disables tab character | + | ** '''tN''' enables/disables tab character |
− | ** '''wN''' enables word wrapping | + | ** '''wN''' enables word wrapping |
* '''N''' - The Nth line wrapped, use 0 to get the total number of wrapped line. | * '''N''' - The Nth line wrapped, use 0 to get the total number of wrapped line. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Properties == | == Properties == | ||
Line 55: | Line 49: | ||
}</source> | }</source> | ||
Now execute "/picwinchat test this is a very long text ok some more word please ok this is enough to illustrate the example i think maybe not" | Now execute "/picwinchat test this is a very long text ok some more word please ok this is enough to illustrate the example i think maybe not" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Compatibility == | == Compatibility == | ||
Line 73: | Line 56: | ||
{{mIRC|$width}} | {{mIRC|$width}} | ||
{{mIRC|$height}} | {{mIRC|$height}} | ||
− | + | ||
+ | [[Category:mIRC identifiers]] |