Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /marry [<player>]:
- permission: op
- trigger:
- if arg is set:
- if {_married.%player%} is 0:
- send "you are now marrieddddd" to player
- set {_married.%player%} to 1
- if {_married.%arg%} is 0:
- set {_married.%arg%} to 1
- else if arg is set:
- if {_married.%player%} is 1:
- send "You are already married!" to player
- else if arg is set:
- if {_married.%arg%} is 1:
- send "That player is already married!"
- else if arg isn't set:
- send "You can't marry no one, unless you want to marry yourself." to player
- else if {_married.%arg%} is equal to {_married.%player%}:
- send "You are now married to yourself!" to player
- command /unmarry [<player>]:
- permission: op
- trigger:
- if arg is set:
- set {_married.%uuid of player%} to 0
- set {_married.%uuid of arg%} to 0
- send "you are now divorced with %arg%"
- if arg isn't set:
- send "you have to divorce with someone" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement