Guest User

Untitled

a guest
Mar 16th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. On first join:
  2. set {jaime.%player%} to 0
  3. set {jaimes.%player%} to 0
  4.  
  5. Options:
  6.  
  7. logo: &8[&cAime&8]
  8. erreur: &8[&cErreur&8]
  9. fan: &8[&e&lFan&8]
  10.  
  11. command /jaime <player> [<text>]:
  12. aliases: j, aime
  13. trigger:
  14. if arg 1 is not set:
  15. message "{@erreur} &cFait /jaime, j, aime <Joueur>" to player
  16. if arg 1 is set:
  17. if arg 2 is not set:
  18. wait 2 ticks
  19. open chest with 3 rows named "&c%arg 1% &l> &cAime Ou Pas :D" to player
  20. wait 1 tick
  21. format slot 4 of player with arg 1's skull named "&4%arg 1%" with lore "&cJ'aime : %{jaime.%UUID of arg 1%}%||&8J'aime pas : %{jaimes.%UUID of arg 1%}%||&e&lFan : %{fan.%UUID of arg 1%}%" to be unstealable
  22. format slot 11 of player with Rose Red named "&cJ'aime" to be unstealable
  23. format slot 15 of player with Gray Dye named "&8J'aime Pas" to be unstealable
  24. format slot 13 of player with Beacon named "&eDevenir &lFan" to be unstealable
  25. if arg 2 is "oui":
  26. message "{@logo} Tu as envoyé un J'aime à &c%arg 1%" to player
  27. message "{@logo} Tu as reçu un J'aime de &c%player%" to arg 1
  28. add 1 to {jaime.%UUID of arg 1%}
  29. if {jaime.%UUID of arg 1%} <= 3:
  30. broadcast "&e&lLe joueur &6%arg 1% &e&lA obtenu 10 J'aimes !"
  31. if {jaime.%UUID of arg 1%} <= 35:
  32. broadcast "&e&lLe joueur &6%arg 1% &e&lA obtenu 35 J'aimes !"
  33. if arg 2 is "non":
  34. message "{@logo} Tu as envoyé J'aime pas à &c%arg 1%" to player
  35. message "{@logo} Tu as reçu un J'aime pas de &c%player%" to arg 1
  36. add 1 to {jaimes.%UUID of arg 1%}
  37. if arg 2 is "Fan":
  38. message "{@fan} Tu es devenu fan de &e%arg 1%" to player
  39. message "{@fan} Le joueur &e%player% &8Vous suit a partir de maintenant" to arg 1
  40. add 1 to {fan.%UUID of arg 1%}
  41. if arg 2 is "clear":
  42. message "{@logo} Tu as clear les j'aime/j'aime pas/fan" to player
  43. clear {jaime.%UUID of arg 1%}
  44. clear {jaimes.%UUID of arg 1%}
  45. clear {fan.%UUID of arg 1%}
Advertisement
Add Comment
Please, Sign In to add comment