Advertisement
Guest User

skript

a guest
Jan 20th, 2022
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. command /marry [<player>]:
  2. permission: op
  3. trigger:
  4. if arg is set:
  5. if {_married.%player%} is 0:
  6. send "you are now marrieddddd" to player
  7. set {_married.%player%} to 1
  8. if {_married.%arg%} is 0:
  9. set {_married.%arg%} to 1
  10.  
  11. else if arg is set:
  12. if {_married.%player%} is 1:
  13. send "You are already married!" to player
  14.  
  15. else if arg is set:
  16. if {_married.%arg%} is 1:
  17. send "That player is already married!"
  18.  
  19. else if arg isn't set:
  20. send "You can't marry no one, unless you want to marry yourself." to player
  21.  
  22. else if {_married.%arg%} is equal to {_married.%player%}:
  23. send "You are now married to yourself!" to player
  24.  
  25. command /unmarry [<player>]:
  26. permission: op
  27. trigger:
  28. if arg is set:
  29. set {_married.%uuid of player%} to 0
  30. set {_married.%uuid of arg%} to 0
  31. send "you are now divorced with %arg%"
  32. if arg isn't set:
  33. send "you have to divorce with someone" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement