|
|
Line 1: |
Line 1: |
| {{Command|= Comments
| | #REDIRECT [[Control Structures#if-Statement]] |
| ____________________________________________________________________________________________
| |
| | |
| | ofpr |= Game name
| |
| | |
| |1.85|= Game version
| |
| ____________________________________________________________________________________________
| |
| | |
| | Construct an array that can be processed by [[then]]. |= Description
| |
| ____________________________________________________________________________________________
| |
| | |
| | ifCode '''else''' elseCode |= Syntax
| |
| | |
| |p1= ifCode: [[Code]] |=Parameter 1
| |
| | |
| |p2= elseCode: [[Code]]|=Parameter 2
| |
| | |
| | [[Array]] |= Return value
| |
| ____________________________________________________________________________________________
| |
| | |
| |x1= <code>[[if]] (a>b) [[then]] <nowiki>{c=0}</nowiki> '''else''' <nowiki>{c=1}</nowiki></code> |=Example 1
| |
| ____________________________________________________________________________________________
| |
| | |
| | |= See also
| |
| | |
| }}
| |
| | |
| <h3 style="display:none">Notes</h3>
| |
| <dl class="command_description">
| |
| <!-- Note Section BEGIN -->
| |
| | |
| <!-- Note Section END -->
| |
| </dl>
| |
| | |
| <h3 style="display:none">Bottom Section</h3>
| |
|
| |
|
| [[Category:Scripting Commands|ELSE]] | | [[Category:Scripting Commands|ELSE]] |