• 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

    Upload page content

    You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

    File to load page content from
    Page name
    Comment

    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