If

From OdaWiki
Revision as of 08:05, 25 March 2007 by Killingblair (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.