Using Persistents in Conditions

Persistents in condition statements are accessed in the same way as in the prelude.

The following action will fire when the persistent variable ent:archive_pages is greater than 3:

if ent:archive_pages > 3 then 
   event:send(...)