• 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

    Function

    See also: Items

    See also: GetItem

    usage:

    m_context.ItemCount("full.item.id") ItemCount("full.item.id")

    examples:

    echo m_context.ItemCount("player.candy.corn.2013")

    will output how many of the 50% food buffs you have that came with the Halloween 2013 promo.

    item = "player.box.gambling.3"
    
    if ItemCount(item) execute "useitem {item}"
    if ItemCount(item) repeat

    will use all of your amulets


    CategoryFunctions