Skip to content

DoTrade command #42

@anthonyvancauwenberghe

Description

@anthonyvancauwenberghe

Once it has received the command and the botstatus is waiting it should look for the player that is going to accept the trade on the map and trade him.
If trade fails (for example get's cancelled for some reason) retry up to 3 times.

parameters will be passed along the action in the form:

parameters : [
'player' : 'rsn',
items:[ id: '', amount:'']
]

Do checking if the bot actually has the items in it's inventory else remove the items that are not there from the array + reduce the amount to the amount available in the inventory

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions