assert: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Corrected capitilization in function name.) |
Verisimilar (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
</source> | </source> | ||
}} | }} | ||
[[Category:Miscellaneous Function]] |
Revision as of 21:49, 6 March 2009
assert() Function
• Introduced in version 1.3b49
Halts execution and prints a custom error message if a condition is zero. Note that the error message will be displayed in chat even if the command itself is in a [H: ] block.
Usage
[h: assert(condition, message)]