||Usage: ||canceltrade || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||canceltrade || Cancels all pending trades in current city. You can also cancel trades by their tradeId: ||Usage: ||canceltrade tradeId || ||<#F2F2F2 style="padding:0.2em;border-style:solid;border-color:rgb(170, 170, 170); ">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