• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "Screen"
    Differences between revisions 1 and 2
    Revision 1 as of 2015-09-04 16:30:59
    Size: 7700
    Editor: LKD70
    Comment:
    Revision 2 as of 2015-09-04 16:31:42
    Size: 7708
    Editor: LKD70
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 6: Line 6:
    ||[[CityLog|Screen.cityLog]] ||String ||Contains the information seen in the city Log tab. ||
    ||[[ReportLog|Screen.reportLog]] ||String ||Contains the information seen in the Reports tab. ||
    ||[[AllianceChat|Screen.aChat]] ||String ||Contains the information seen in the Alliance chat tab. ||
    ||[[PrivateChat|Screen.pChat]] ||String ||Contains the information seen in the Private chat tab. ||
    ||[[WorldChat|Screen.wChat]] ||String ||Contains the information seen in the World chat tab. ||
    ||[[BeginnersChat|Screen.bChat]] ||String ||Contains the information seen in the Beginners chat tab. ||
    ||[[SystemChat|Screen.sChat]] ||String ||Contains the information seen in the System chat tab. ||
    ||[[CommandLog|Screen.commandLog]] ||String ||Contains the information seen in the commandLog tab. ||
    ||[[#CityLog|Screen.cityLog]] ||String ||Contains the information seen in the city Log tab. ||
    ||[[#ReportLog|Screen.reportLog]] ||String ||Contains the information seen in the Reports tab. ||
    ||[[#AllianceChat|Screen.aChat]] ||String ||Contains the information seen in the Alliance chat tab. ||
    ||[[#PrivateChat|Screen.pChat]] ||String ||Contains the information seen in the Private chat tab. ||
    ||[[#WorldChat|Screen.wChat]] ||String ||Contains the information seen in the World chat tab. ||
    ||[[#BeginnersChat|Screen.bChat]] ||String ||Contains the information seen in the Beginners chat tab. ||
    ||[[#SystemChat|Screen.sChat]] ||String ||Contains the information seen in the System chat tab. ||
    ||[[#CommandLog|Screen.commandLog]] ||String ||Contains the information seen in the commandLog tab. ||

    Screen

    The Screen object contains the content as you see it on your screen. This means certain things you see in the bot can be referenced through scripts. Below I've included a collection of references that will assist you to grab data from certain Screen elements.

    Name

    Type

    Description

    Screen.mainLog

    String

    Contains the information seen in the main log tab.

    Screen.cityLog

    String

    Contains the information seen in the city Log tab.

    Screen.reportLog

    String

    Contains the information seen in the Reports tab.

    Screen.aChat

    String

    Contains the information seen in the Alliance chat tab.

    Screen.pChat

    String

    Contains the information seen in the Private chat tab.

    Screen.wChat

    String

    Contains the information seen in the World chat tab.

    Screen.bChat

    String

    Contains the information seen in the Beginners chat tab.

    Screen.sChat

    String

    Contains the information seen in the System chat tab.

    Screen.commandLog

    String

    Contains the information seen in the commandLog tab.

    MainLog

    Usage:

    Screen.mainlog.buffer

    Example:

    echo Screen.mainLog.buffer

    Outputs the contents of the main Log.

    CityLog

    Usage:

    Screen.cityLog.buffer

    Example:

    echo Screen.cityLog.buffer

    Outputs the contents of the city Log.

    ReportLog

    Usage:

    Screen.reportLog.buffer

    Example:

    echo Screen.reportLog.buffer

    Outputs the contents of the report Log.

    AllianceChat

    Usage:

    Screen.aChat.buffer

    Example:

    echo Screen.aChat.buffer

    Outputs the contents of the alliance chat.

    PrivateChat

    Usage:

    Screen.pChat.buffer

    Example:

    echo Screen.pChat.buffer

    Outputs the contents of the private chat.

    WorldChat

    Usage:

    Screen.wChat.buffer

    Example:

    echo Screen.wChat.buffer

    Outputs the contents of the world chat.

    BeginnersChat

    Usage:

    Screen.bChat.buffer

    Example:

    echo Screen.bChat.buffer

    Outputs the contents of the beginners chat.

    SystemChat

    Usage:

    Screen.sChat.buffer

    Example:

    echo Screen.sChat.buffer

    Outputs the contents of the system chat.

    CommandLog

    Usage:

    Screen.commandLog.buffer

    Example:

    echo Screen.commandLog.buffer

    Outputs the contents of the command Log.


    ScriptObjects

    Screen (last edited 2015-09-04 16:51:45 by LKD70)