If condition

From EDukeWiki
Revision as of 13:04, 23 December 2004 by Mblackwell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If conditions evaluate the specified statement, and run code based on the returned value of the evaluation. If conditions are boolean (true or false), and may be strung together.

Example code:

ifdead { spawn BLOODPOOL killit }

If conditions may be used in conjunction with an else.