assert

From RPTools Wiki
Revision as of 18:24, 21 January 2009 by Lindharin (talk | contribs)
Jump to navigation Jump to search

From b49 announcements:

  • New function: assert(condition, message) - if condition is zero, halts execution and prints a custom error message.

Note that the error message will be displayed in chat even if the command itself is in a [H: ] block.