Difference between revisions of "MessageBoxEx"
Jump to navigation
Jump to search
m
→Notes: Making it clear that it's a spell and not a variable
imported>Haama (Making this clear) |
imported>Haama m (→Notes: Making it clear that it's a spell and not a variable) |
||
|
** If you would like to use different strings based on a boolean or integer parameter, you can use the %c format with a dummy spell or faction.
** E.g. Ninja Ranks
*** Create "
<pre> ref NinjaRanksRef
...
set NinjaRanksRef to
MBoxEx "You're not ready to be a %c level ninja!" NinjaRanksRef iNextNinjaLevel</pre>
:* Note: Be sure that index is within range of defined ranks. I.e. if you have defined two ranks for a boolean value, make sure that the index is really limited to 0 or 1. (Otherwise, CTD!)
| |||