While
From EventScripts Community Encyclopedia
|
[edit] OverviewSyntax: Note: Command parameters are described inside the
< and > characters. Optional parameters are contained within [ and ] characters.Variation of this command that doesn't expand variables: while [edit] DescriptionWill execute command until the condition is not true. [edit] Parameters
[edit] ExamplesIf you had this code in a block somewhere: es_xsetinfo max 3 es_xsetinfo i 0 while "server_var(i) < server_var(max)" "es_xdoblock script/while_loop"Along with this code: block while_loop { es_msg i = server_var(i) es_xmath i + 1 } It will display: i = 0 i = 1 i = 2
[edit] Notes
[edit] See also |
|
