#JIndex
Also searchable as: #JIndex · JIndex · journal index
#JIndex is the running number of the newest journal line: every new line gets the next number. Give such a
number to scanjournal to read exactly that line. Remembering #JIndex and reading
every number up to the current one handles each new line exactly once, however many arrive at once.
Example
Section titled “Example”set %from #JIndex + 1msg #smc TestA$msg #smc TestB$wait 1sfor %n %from #JIndex{ scanjournal %n if TestB in #Journal event SysMessage Found it.}haltSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.