Journal
Returns Journal string with Index StringIndex
NB: It can be obtained via HighJournal or LineIndex after call of InJournal / InJournalBetweenTimes / WaitJournalLine etc.
Pascal
function Journal(StringIndex : Integer) : String;
Python
def Journal(StringIndex) -> string
Example Pascal
if( ( InJournalBetweenTimes( 'You find|You can''t do much in your current state|You can see nothing hidden there|You are preoccupied|You must wait to perform', timeStamp, Now() ) <> -1 ) and ( LineTextColor() = $03B2 ) and ( LineID() = $FFFFFFFF ) ) then
begin
matchIndex := FoundedParamID();
matchString := Journal( LineIndex() );
if( matchIndex = 0 ) then result := true;
AddToSystemJournal( 'DetectHidden [ status:FINISHED, reason:''Found a match in the Journal'', text:''' + matchString + ''' ]' );
exit;
end;