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.
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.