Guest User

Untitled

a guest
Jan 6th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. command /gift [<player>] [<text>]:
  2. permission: gift.give
  3. permission message: &9&lGIFT &cYou don't have permission!
  4. trigger:
  5. if argument 1 is set:
  6. if argument 2 is not set:
  7. send "&9&lGIFT &7Are you sure you want to give %arg-1% the item in your hand?"
  8. send "&9&lGIFT &7Do /gift %arg-1% confirm to confirm."
  9. stop
  10. if argument 2 is set:
  11. send "&9&lGIFT &7You have sent a gift to %arg-1%"
  12. send "&9&lGIFT &7You have received a gift from %player%" to arg-1
  13. set {_item} to player's tool
  14. set player's tool to air
  15. give arg-1 {_item}
Advertisement
Add Comment
Please, Sign In to add comment