Jump to content
McKay Development

Recommended Posts

Posted (edited)

I have been working on a tradelog code and i need to get the (offer) from the trade when it processes the trade i dont know the correct way to export the offer from

manager.on('newOffer', (offer) => {
     processOffer(offer);
});
Edited by Lonster_Monster
Posted
  On 2/6/2018 at 5:00 AM, Lonster_Monster said:

I have the processOffer i want to export the (offer) part to another file how would i do that?

 

What is the other file? Is it javascript? A text document? What is the file used for?

Posted
  On 2/6/2018 at 8:25 AM, McMuffinDK said:

What is the other file? Is it javascript? A text document? What is the file used for?

It will be a js file i want to make a trade logger but dont know how to call the (offer) from another file i dont know how to export it

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...