Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /gift [<player>] [<text>]:
- permission: gift.give
- permission message: &9&lGIFT &cYou don't have permission!
- trigger:
- if argument 1 is set:
- if argument 2 is not set:
- send "&9&lGIFT &7Are you sure you want to give %arg-1% the item in your hand?"
- send "&9&lGIFT &7Do /gift %arg-1% confirm to confirm."
- stop
- if argument 2 is set:
- send "&9&lGIFT &7You have sent a gift to %arg-1%"
- send "&9&lGIFT &7You have received a gift from %player%" to arg-1
- set {_item} to player's tool
- set player's tool to air
- give arg-1 {_item}
Advertisement
Add Comment
Please, Sign In to add comment