If

From OdaWiki

The if command is very simple. The syntax looks like this:

if CVAR[1] eq VALUE[1] CVAR[2] VALUE[2]

For example:

if deathmatch eq 1 skill 5

If statements can be put into a startmapscript or an endmapscript.

  • This page was last modified 08:05, 25 March 2007.
  • This page has been accessed 478 times.