Trade Select (Event) — SkBee

Addon: SkBee · Category: Event · Since: 1.17.0

Syntax

[on] trade select

Description

This event is called whenever a player clicks a new trade on the trades sidebar. This event allows the user to get the index of the trade, letting them get the MerchantRecipe via the Merchant. `event-number` = Used to get the index of the trade the player clicked on. `event-merchantrecipe` = The merchant recipe of the trade that the player clicked on.

Event Values

  • event-inventory
  • event-merchant
  • event-merchantinventory
  • event-merchantrecipe
  • event-number
  • event-player

View source