Journal
The Journal class provides access to the message Journal.
TODO: Journal Constructors
Methods
Journal
.
Clear
()
Journal
.
Clear
()
Removes all entry from the Jorunal. This operation is Global for all Razor.
Return
Void

Journal
.
FilterText
(
text
)
Journal
.
FilterText
(
text
)
Store a string that if matched, will block journal message ( case insensitive )
Parameters
text
String
Text to block. case insensitive, and will match if the incoming message contains the text
Return
Void
void
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
afterTimestap
Journal.JournalEntry
Double
Timestap as UnixTime, the number of seconds elapsed since 01-Jan-1970. (default: -1, no filter) A JournalEntry object (default: null, 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
text
String
Text to search.
addname
Boolean
Prepend source name. (default: False)
Return
String
Return the full line - Empty string if not found.
Journal
.
GetSpeechName
()
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
color
Int32
Color of the soruce.
addname
Boolean
Prepend 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
name
String
Name of the soruce.
addname
Boolean
Prepend 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
serial
Int32
Serial of the soruce.
addname
Boolean
Prepend 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
type
String
Regular System Emote Label Focus Whisper Yell Spell Guild Alliance Party Encoded Special
addname
Boolean
Prepend 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
text
String
Text to no longer block. case insensitive
Return
Void
void
Journal
.
Search
(
text
)
Journal
.
Search
(
text
)
Search in the Journal for the occurrence of text. (case sensitive)
Parameters
text
String
Text to search.
Return
Boolean
True: 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
text
String
Text to search.
color
Int32
Color of the message.
Return
Boolean
True: 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 soruce. (case sensitive)
Parameters
text
String
Text to search.
name
String
Name of the source.
Return
Boolean
True: 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
text
String
Text to search.
type
String
Regular System Emote Label Focus Whisper Yell Spell Guild Alliance Party Encoded Special
Return
Boolean
True: 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 soruce to appear in Jorunal. (case sensitive)
Parameters
name
String
Name of the soruce.
delay
Int32
Maximum pause in milliseconds.
Return
Boolean

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
text
String
List[String]
Text to search.
delay
Int32
Maximum pause in milliseconds.
Return
String
Boolean
True: Text is found - False: otherwise