• 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 "CancelTrade"
    Differences between revisions 5 and 6
    Revision 5 as of 2013-10-13 00:58:30
    Size: 1358
    Editor: tech
    Comment:
    Revision 6 as of 2013-10-13 01:00:41
    Size: 1493
    Editor: tech
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">canceltrade ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">canceltrade ||
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start;  " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;  ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">canceltrade ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;  ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">canceltrade ||
    Line 7: Line 7:
    You can also cancel trades by their tradeId. You can also cancel trades by their tradeId:
    Line 9: Line 9:
    ||<tablebgcolor="#F9F9F9" tablestyle="margin: 1em 1em 1em 0px; border-style: solid; border-color: rgb(170, 170, 170); color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; line-height: 19.5px;" tableclass="wikitable"#F2F2F2 style="padding: 0.2em; border-style: solid; border-color: rgb(170, 170, 170);">Usage: ||<style="padding: 0.2em; border-style: solid; border-color: rgb(170, 170, 170);">canceltrade tradeId ||
    ||<#F2F2F2 style="padding: 0.2em; border-style: solid; border-color: rgb(170, 170, 170);">Example: ||<style="padding: 0.2em; border-style: solid; border-color: rgb(170, 170, 170);">canceltrade ||
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px; " tableclass="wikitable"#F2F2F2 style="padding:0.2em;border-style:solid;border-color:rgb(170, 170, 170); ">Usage: ||<style="padding:0.2em;border-style:solid;border-color:rgb(170, 170, 170);">canceltrade tradeId ||
    ||<#F2F2F2 style="padding:0.2em;border-style:solid;border-color:rgb(170, 170, 170); ">Example: ||<style="padding:0.2em;border-style:solid;border-color:rgb(170, 170, 170);">execute "canceltrade " + city.tradesArray[0].id ||
    Line 12: Line 12:
    This example will cancel the 1st trade in the city's current tradesArray (the oldest trade in the array will be at position 0)

    Usage:

    canceltrade

    Example:

    canceltrade

    Cancels all pending trades in current city.

    You can also cancel trades by their tradeId:

    Usage:

    canceltrade tradeId

    Example:

    execute "canceltrade " + city.tradesArray[0].id

    This example will cancel the 1st trade in the city's current tradesArray (the oldest trade in the array will be at position 0)



    ScriptResource

    CancelTrade (last edited 2013-10-13 01:00:41 by tech)