diff --git a/example/testBot.js b/example/testBot.js index 94ca4d5..047251d 100644 --- a/example/testBot.js +++ b/example/testBot.js @@ -366,14 +366,14 @@ async function connect() console.log('Found ' + searchResults.length + ' objects containing the string FINDME-*'); for (const obj of searchResults) { - console.log('Object: ' + obj.name + ', ' + obj.FullID.toString() + ', position: ' + obj.Position.toString() + ', land impact: ' + obj.ownershipCost) + console.log('Object: ' + obj.name + ', ' + obj.FullID.toString() + ', position: ' + obj.Position.toString() + ', land impact: ' + obj.landImpact) } searchResults = await bot.clientCommands.region.findObjectsByName('rezcubes'); console.log('Found ' + searchResults.length + ' objects containing the string rezcubes'); for (const obj of searchResults) { - console.log('Object: ' + obj.name + ', ' + obj.FullID.toString() + ', position: ' + obj.Position.toString() + ', land impact: ' + obj.ownershipCost) + console.log('Object: ' + obj.name + ', ' + obj.FullID.toString() + ', position: ' + obj.Position.toString() + ', land impact: ' + obj.landImpact) for (const k of Object.keys(obj.NameValue)) { console.log(k + ': ' + obj.NameValue[k])