Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

GetMana

Returns index of last line in Journal (UO journal, not systemjournal)

Pascal Syntax:

function HighJournal : Integer;

Pascal Example:

procedure onSpeech( const text:String; senderName:String; senderID:Cardinal );
var
  journalText:String;
  journalTextColor:Word;
  guardZoneName:String;
begin 
  journalText := Journal( HighJournal() );
  journalTextColor := LineTextColor();
        
  AddToSystemJournal
  ('onSpeech [ senderID:$' + IntToHex( senderID, 8 ) + 
                  ', senderName:''' + senderName +  
                  ''', text:''' + text + 
                  ''', lineTextColor:$' + IntToHex( journalTextColor, 4 ) + 
                  ', journalText:' + journalText + ' ]' 
  );  
end;

Python Syntax:

def HighJournal(): --> int