Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #--------------------------------
- command /delhome [<offline player>] [<text>]:
- trigger:
- set {_pl} to arg 1
- set {_home} to arg 2
- homeDel({_pl}, player, {_home})
- #--------------------------------
- command /sethome [<text>]:
- trigger:
- if arg 1 is not set:
- send "&e&l[&d&l✖&e&l] &r&7Include a name for your home: /sethome <name>"
- stop
- if arg 1 = "1", "2", "3", "4", "5", "6", "7", "8", "9" or "10":
- send "&e&l[&d&l✖&e&l] &r&7Home cannot be a number"
- stop
- if {homes-count.%arg-1%} is not set:
- set {homes-count.%arg-1%} to 0
- make player execute command "essentials:sethome %arg-1%"
- add 1 to {homes-count.%player%}
- set {home.%player%::%{homes-count.%player%}%} to arg 1
- #--------------------------------
- command /homesets <offlineplayer>:
- trigger:
- if player has permission "staff", "srstaff" or "owner":
- set {_pl} to arg 1
- listHomes({_pl}, player, 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement