ZAP has several built in conditions you can use (either in a ZAP if command, or in a regular PmWiki conditional). These include:
Exists: exists Group.Name Checks to see if a given page exists.
Group Exists gexists Group Checks to see if there are any pages in the specified group.
In List inlist Item|Field|Page Checks to see if a given value is an item in a ZAP generated CSV list, making it easy to create approve lists or banlists, etc. If the page field is not supplied it looks for the field in the current page.
Check Time checktime timestamp1|timestamp2' Compares two timestamps. Returns true if the first is larger than the second, false if equal or less. Can be combined with ZAP time variables for various time applications.
Page Format | pagefmt Name |
| pagefmt Group.Name |
Checks either value to see if they are in a standard PmWiki page name format.
|