User Tools

Site Tools


scripting-journal

Scripting - Journal data and function

Here can find some infomation about Enhanced Scripting function and data for jorunal operazion!

Clear

Clear Journal
Syntax Journal.Clear( )
Description:
Clear data in journal buffer.
Returns: void
In Object: Journal
Parameters: none




Search Journal
Syntax Journal.Search(string)
Description:
Search a string in all journal buffer, if present get true. String is case sensitive.
Returns: bool
In Object: Journal
Parameters: string TextToSearch

Search Journal by name
Syntax Journal.SearchByName(string, string)
Description:
Search a string in all journal buffer by sender name, if present get true. String and name is case sensitive.
Returns: bool
In Object: Journal
Parameters: string TextToSearch, string SenderName

Search Journal by color
Syntax Journal.SearchByColor(string, string)
Description:
Search a string in all journal buffer by font color, if present get true. String is case sensitive.
Returns: bool
In Object: Journal
Parameters: string TextToSearch, int ColorToSearch

Search Journal by message type
Syntax Journal.SearchByType(string, string)
Description:
Search a string in all journal buffer by message type, if present get true. String and Type is case sensitive.
Returns: bool
In Object: Journal
Parameters: string TextToSearch, string MessageType
Parameters type list:
  • Regular
  • System
  • Emote
  • Label
  • Focus
  • Whisper
  • Yell
  • Spell
  • Guild
  • Alliance
  • Party
  • Encoded
  • Special





Get Data

Search and Get text line
Syntax Journal.GetLineText(string, optional bool)
Description:
Search and get last line whit searched string, if present return a string whit all text in line. String is case sensitive. Use optional bool true for add name of mobile or item send text.
Returns: string
In Object: Journal
Parameters: string TextToSearch, optional bool

Get Speech Name
Syntax Journal.GetSpeechName()
Description:
Get a list of all name of player and object speech.
Returns: list (string)
In Object: Journal
Parameters: none

Get Text by Type
Syntax Journal.GetTextByType(string, optional bool)
Description:
Get a list of all speech by specific type. Use optional bool true for add name of mobile or item send text.
Returns: list (string)
In Object: Journal
Parameters:
  • System
  • Emote
  • Label
  • Focus
  • Whisper
  • Yell
  • Spell
  • Guild
  • Alliance

Get Text by Name
Syntax Journal.GetTextByName(string)
Description:
Get a list of all speech by specific player name.
Returns: list (string)
In Object: Journal
Parameters: string name

Get Text by Color
Syntax Journal.GetTextByColor(int, optional bool)
Description:
Get a list of all speech by specific color. Use optional bool true for add name of mobile or item send text.
Returns: list (string)
In Object: Journal
Parameters: int color, optional bool

Get Text by Serial
Syntax Journal.GetTextBySerial(int)
Description:
Get a list of all speech by specific serial.
Returns: list (string)
In Object: Journal
Parameters: int serial




Wait Journal

Wait in journal
Syntax Journal.WaitJournal(string, int)
Description:
Pause script and wait when a text is present in journal. Text is case sensitive and max wait delay is in ms.
Returns: void
In Object: Journal
Parameters: string TextToSearch, int MaxWaitTime

scripting-journal.txt · Last modified: 2018/10/03 23:58 by wikiadmin