• 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

    Allows you to change the colors on the map tab through scripts.

    Setup

    This consists of a few stages.

    1. First you need to goto Global Settings> Map Colors and choose your colors. After this, you can get the color array by running this script:

    echo MapColors

    2. From running that you should have an output like this:

    15529216,16711680,65535,9292421,37375,16436320,16756912,0,12040119,13377495,15376424,11075433,3069223,10977327,16777215,131327,197260,16770015,9999999,99999999,999999999,999999,999999999,9999999999

    3. Then you will need to copy that array and add it too this:

    if !city.timeSlot result = MapColors.splice(0,15,YOUR-ARRAY-HERE)

    4. You can then add that line to the top of AutoRunScript.txt in the NEATxxxx.exe directory.

    Alternately you can use it in the scripts box, but you will need to refresh your bot to see the changes.


    CategoryHowTo

    MapColors (last edited 2015-09-07 00:15:36 by Inanna)