• 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

    Function:

    SellPrice(x)

    You can access the last known sell prices for resources via script with this function... X of course would be a number 0-3 (0 = food, 1 = wood, 2 = stone, 3 = iron)

    Example:

    echo SellPrice(3)

    will return last known offer (sell) price for iron


    ScriptResource

    SellPrice (last edited 2013-10-13 01:14:33 by tech)