Difference between revisions of "Talk:MessageBoxEx"
Jump to navigation
Jump to search
answer
imported>Ventus |
imported>DragoonWraith (answer) |
||
|
----
Quick question: is it at all possible to condition returns (%r)? Say I had a series of conditional strings, using %{...%}, and I wanted the ones that appear at any given time to be on their own line in the message box, but I didn't want there to be blank lines from when a line isn't displayed, but the return happens anyways, since it has to be outside the conditional brackets. Hope that makes enough sense to warrant a reply.--[[User:Ventus|Ventus]] 03:16, 5 April 2008 (EDT)
:Just include the %r within the optional section.
MessageBoxEX "Blah blah blah%{%r%roptional thingy 1%}%{%r%ranother optional thingy 2%}" bool1 bool2
:The "Blah blah blah" will always display. If bool1 is true, then "optional thingy 1" will appear on its own line, and if bool2 is true, then "optional thingy 2" will appear on its own line.
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 04:44, 5 April 2008 (EDT)
| |||