MinecraftZaaxel

Powitania.sk

Apr 14th, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. on join:
  2. if {powitanie::%player%} is not set:
  3. set join message to "&7[&fGracz&7] &6%player% &edolaczyl/a do gry!"
  4. if {powitanie::%player%} is "gracz":
  5. set join message to "&7[&fGracz&7] &6%player% &edolaczyl/a do gry!"
  6. if {powitanie::%player%} is "vipelite":
  7. set join message to "&7[&5VipElite&7] &6%player% &edolaczyl/a do gry!"
  8. if {powitanie::%player%} is "kidmod":
  9. set join message to "&7[&aKid&bMod&7] &6%player% &edolaczyl/a do gry!"
  10. if {powitanie::%player%} is "mod":
  11. set join message to "&7[&bMod&7] &6%player% &edolaczyl/a do gry!"
  12. if {powitanie::%player%} is "smod":
  13. set join message to "&7[&6s&bMod&7] &6%player% &edolaczyl/a do gry!"
  14. if {powitanie::%player%} is "headadmin":
  15. set join message to "&7[&cHeadAdmin&7] &6%player% &edolaczyl/a do gry!"
  16.  
  17. command /powitanie [<player>] [<text>]:
  18. aliases: po
  19. trigger:
  20. if player has permission "powitanie.nadaj":
  21. if arg 1 is set:
  22. if arg 2 is set:
  23. set {powitanie::%player-arg%}% to arg 2
  24. send "&cUstawiono powitanie &6%arg 2% &cdla &e%player-arg%"
  25. else:
  26. send "&cWprowadz jedno z powitan:"
  27. send "&6gracz, vipelite, kidmod, mod, smod, headadmin"
  28. else:
  29. send "&cAby przypisac komus powitanie wpisz:"
  30. send "&7/po <gracz> <powitanie>"
  31. send "&cWprowadz jedno z powitan:"
  32. send "&6gracz, vipelite, kidmod, mod, smod, headadmin"
  33. else:
  34. send "&4Nie masz uprawnien!"
Advertisement
Add Comment
Please, Sign In to add comment