Journal
The Journal class provides access to the message Journal.
TODO: Journal Constructors
Methods
Journal.Clear(toBeRemoved)
Journal.Clear(toBeRemoved)
Removes all matching entry from the Jorunal.
Removes all entry from the Jorunal.
Parameters
toBeRemovedString
Journal.FilterText(text)
Store a string that if matched, will block journal message ( case insensitive )
Parameters
textStringText to block. case insensitive, and will match if the incoming message contains the text
Journal.GetJournalEntry(afterTimestap)
Journal.GetJournalEntry(afterTimestap)
Get a copy of all Journal lines as JournalEntry. The list can be filtered to include *only* most recent events.
Get a copy of all Journal lines as JournalEntry. The list can be filtered to include *only* most recent events.
Parameters
afterTimestapJournal.JournalEntry
DoubleA JournalEntry object (default: null, no filter)
Timestap as UnixTime, the number of seconds elapsed since 01-Jan-1970. (default: -1, no filter)
Return
List[Journal.JournalEntry]List of JournalEntry
List of JournalEntry
Journal.GetLineText(text, addname)
Journal.GetLineText(text, addname)
Search and return the most recent line Journal containing the given text. (case sensitive)
Parameters
textStringText to search.
addnameBooleanPrepend source name. (default: False)
Return
StringReturn the full line - Empty string if not found.
Journal.GetSpeechName()
Get list of speakers.
Return
List[String]List of speakers as text.
Journal.GetTextByColor(color, addname)
Journal.GetTextByColor(color, addname)
Returns all the lines present in the Journal for a given color.
Parameters
colorInt32Color of the source.
addnameBooleanPrepend source name. (default: False)
Return
List[String]A list of Journal as lines of text.
Journal.GetTextByName(name, addname)
Journal.GetTextByName(name, addname)
Returns all the lines present in the Journal for a given source name. (case sensitive)
Parameters
nameStringName of the source.
addnameBooleanPrepend source name. (default: False)
Return
List[String]A list of Journal as lines of text.
Journal.GetTextBySerial(serial, addname)
Journal.GetTextBySerial(serial, addname)
Returns all the lines present in the Journal for a given serial.
Parameters
serialInt32Serial of the source.
addnameBooleanPrepend source name. (default: False)
Return
List[String]A list of Journal as lines of text.
Journal.GetTextByType(type, addname)
Journal.GetTextByType(type, addname)
Returns all the lines present in the Journal for a given type. (case sensitive)
Parameters
typeStringRegular
System
Emote
Label
Focus
Whisper
Yell
Spell
Guild
Alliance
Party
Encoded
Special
addnameBooleanPrepend source name. (default: False)
Return
List[String]A list of Journal as lines of text.
Journal.RemoveFilterText(text)
Journal.RemoveFilterText(text)
Remove a stored a string that if matched, would block journal message ( case insensitive )
Parameters
textStringText to no longer block. case insensitive
Journal.Search(text)
Search in the Journal for the occurrence of text. (case sensitive)
Parameters
textStringText to search.
Return
BooleanTrue: Text is found - False: otherwise
Journal.SearchByColor(text, color)
Journal.SearchByColor(text, color)
Search in the Journal for the occurrence of text, for a given color. (case sensitive)
Parameters
textStringText to search.
colorInt32Color of the message.
Return
BooleanTrue: Text is found - False: otherwise
Journal.SearchByName(text, name)
Journal.SearchByName(text, name)
Search in the Journal for the occurrence of text, for a given source. (case sensitive)
Parameters
textStringText to search.
nameStringName of the source.
Return
BooleanTrue: Text is found - False: otherwise
Journal.SearchByType(text, type)
Journal.SearchByType(text, type)
Search in the Journal for the occurrence of text, for a given type. (case sensitive)
Parameters
textStringText to search.
typeStringRegular
System
Emote
Label
Focus
Whisper
Yell
Spell
Guild
Alliance
Party
Encoded
Special
Return
BooleanTrue: Text is found - False: otherwise
Journal.WaitByName(name, delay)
Journal.WaitByName(name, delay)
Pause script and wait for maximum amount of time, for a specific source to appear in Jorunal. (case sensitive)
Parameters
nameStringName of the source.
delayInt32Maximum pause in milliseconds.
Journal.WaitJournal(text, delay)
Journal.WaitJournal(text, delay)
Pause script and wait for maximum amount of time, for a specific text to appear in Journal. (case sensitive)
Parameters
textString
List[String]Text to search.
delayInt32Maximum pause in milliseconds.
Return
Boolean
StringTrue: Text is found - False: otherwise