Guest User

Untitled

a guest
Jun 20th, 2021
49
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /udelatobcanku [<text>] [<text>]:
  2. executable by: players
  3. trigger:
  4. if {check111222::*} does not contain player's uuid:
  5. if arg-1 is not set:
  6. send "&7/&cudelatobcanku &8[&7jmeno&8_&7prijemni] &8[&7datumnarozeni&8]"
  7. send ""
  8. send "&7Napriklad&8: &7/&cudelatobcanku &8[&7Honza&8_&7Novak] &8[&724.12.1990&8]"
  9. if arg-1 is set:
  10. if arg-2 is not set:
  11. send "&7/&cudelatobcanku &8[&7jmeno&8_&7prijemni] &8[&7datumnarozeni&8]"
  12. send ""
  13. send "&7Napriklad&8: &7/&cudelatobcanku &8[&7Honza&8_&7Novak] &8[&724.12.1990&8]"
  14. if arg-1 and arg-2 are set:
  15. set {%arg-1%} to {obcanka.arg115}
  16. set {%arg-2%} to {obcanka.arg225}
  17. send "Vytvoril jsi si obcanku"
  18. add player's uuid to {overenizevlastniobcanku11c22::*}
  19. add player's uuid to {check111222::*}
  20. else:
  21. stop
  22.  
  23. command /ukazatobcanku:
  24. permission: ukazat.obcanku
  25. permission message: &c&lObcanka &7Na tohle nemas prava
  26. trigger:
  27. if {overenizevlastiobcanku1122::*} does not contain player's uuid:
  28. loop players in radius 5 of the player:
  29. set {target} to loop-player
  30. if {target} is set:
  31. send "&c&lObcanka &f&r- &7Jmeno &c%{obcanka.arg115}%&8,&7 narozen &c%{obcanka.arg225}%&7" to {target}
  32. delete {target}
  33. else:
  34. send "&c&lObcanka &f&r- &7Jeste jsi si nevytvoril obcanku, vytvoris si ji pomoci prikazu &8/&7udelatobcanku"
RAW Paste Data