get odamex version 0.4.2 now for your platform

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.

Retrieved from "http://odamex.net/wiki/If"
  • This page was last modified 08:05, 25 March 2007.
  • This page has been accessed 217 times.